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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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

Labels (1)
14 Replies
sunny_talwar
MVP
MVP

Try this:

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

sunny_talwar
MVP
MVP

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
MVP
MVP

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

Best,

Sunny