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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to calculate Days in Order?

Hi,

can anyone suggest me please how can I calculate 'Days in Order' based on 'DateEnter'

I have a filed in table box 'DateEnter'  by using this filed I have to calculate 'Days in Order'

The 'DateEnter' field have values from 201 to current day.

Thanks.

3 Replies
anbu1984
Master III
Master III

Can you explain your requirement with example and expected output

Not applicable
Author

Thanks.

I have ID= 43242 sample DateEnter=20/08/2010 based on this date I need to calculate Days in Order

expected output

ID         Days in Order

674671   1118.98

76746     1118.98

67467     1118.98

JonnyPoole
Former Employee
Former Employee

Is 'Days in Order'  the number of days between today and the value of 'DateEnter' ?

If that is the case you do this to give you the number of days:

date(today()) - date(DateEnter)