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: 
Not applicable

Difference between two dates

Hi -

I am trying to create single line chart that will display the difference between Clearing Date & Posting date by Regrion. For some reasons when selecting one dimension and adding single calculated measure, values are not appearing on my chart.

Any help?

As my Dimension I am selection Region

and this is what i have for my expression:

interval("[Clearing Date].[Date].[Date].[MEMBER_CAPTION]"-"[Posting Date].[Date].[Date].[MEMBER_CAPTION]",'dd')

Thank you

Z

3 Replies
nagaiank
Specialist III
Specialist III

Try the expression

Floor([Clearing Date]) - Floor([Posting Date])

Not applicable
Author

no that did not work.

Not applicable
Author

Here is an example of my file