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

Counting days

How can I count the number of days between two dates?

I have ClaimDate and ConcludedDate and I want to count the number of days in between.

6 Replies
prashanth1712
Contributor III
Contributor III

Hi,

U can use like (ConcludeDate - ClaimDate)

thanks

arulsettu
Master III
Master III

try this

NetWorkDays(ClaimDate ,ConcludedDate )

Anonymous
Not applicable
Author

I tried to put this in a KPI, but it did not work. Does anyone have another idea?

reshmakala
Creator III
Creator III

If you want to calculate all days in between dates, then you can use

ConcludedDate - ClaimDate

If you want to calculate only working days (Monday-Friday), then use

Networkdays (ClaimDate , ConcludedDate )

hubertdudek
Contributor III
Contributor III

Floor(ConcludedDate) - Floor(ClaimDate)

Anonymous
Not applicable
Author

Hi

Try it.

=Floor(Interval(ConcludedDate-ClaimDate,'DD'))

Regards.