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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

find Date difference after Splitting Date from Timestamp

Dear Experts,

Please suggest on this.

I executed below script but the date is getting when doing the Difference, its showing the Decimal.

Capture112.PNG

4 Replies
Anonymous
Not applicable
Author

Hello, Achok!

If you are trying to get the difference in days, try this:

Interval(Date - Date1, 'DD') As Diff

vishsaggi
Champion III
Champion III

Check this?

Anonymous
Not applicable
Author

Thanks for your response Danial / Vishwarath,

Yes.  I tried with this. still the value is not accurate.

Please find the screenshot.

asdfa.PNG

vishsaggi
Champion III
Champion III

What you want to see in NewYes column? I mean what is your expected value and why? Your NewYes is based on what the Diff column values are right? So if Diff has 0's what values does NewYes should have?