Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
srikantj
Creator
Creator

date function problem

if([Req2 Date]<[Run2 Date], MonthStart([Run2 Date],0)

why it is giving blank spaces when i use it as straight table expression

Qlikss Sugessttttt

14 Replies
sunny_talwar

Try this:

MonthStart(If([Req2 Date]<[Run2 Date], [Run2 Date],0))

sunny_talwar

Or this:

Date(If([Req2 Date]<[Run2 Date], MonthStart([Run2 Date]),0)


Or you can set the format on the numbers tab to show as Date

srikantj
Creator
Creator
Author

thanks alot sunny . i used date function to convert num into date

it is working fine

srikantj
Creator
Creator
Author

Thanks alot sunny

sunny_talwar

Great, please close the thread by marking correct and helpful responses.

Best,

Sunny