Skip to main content
Announcements
Do More with Qlik - Qlik Cloud Analytics Recap and Getting Started, June 19: REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Date difference include last date

Hi,

How do I include last or start date while calculating the date difference.

I get 30 days using CheckOut-CheckIN formula. However, I want to include the start or end date so that I can get 31 NumberOfDays.

CheckINCheckOutNumberOfDays
10/31/201611/30/201630

What will be the right formula to do it? Should I just do (CheckOut-CheckIN)+1 ?? Little confused here.

Thanks.

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Just like that

(CheckOut-CheckIN)+1

View solution in original post

2 Replies
swuehl
MVP
MVP

Just like that

(CheckOut-CheckIN)+1

trdandamudi
Master II
Master II

Your formula is correct and also you can use as below:

=Interval(End_Date - Start_Date,'d')+1