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: 
etrotter
Creator II
Creator II

Subtracting dates

Hello!

How would I go about subtracting these two dates? I would like to include weekend days.

1 Solution

Accepted Solutions
vishsaggi
Champion III
Champion III

So what is happening when you try like

= Received_Date - Promised_Date

View solution in original post

5 Replies
vishsaggi
Champion III
Champion III

So what is happening when you try like

= Received_Date - Promised_Date

its_anandrjs
Champion III
Champion III

Try with

=Interval(  Received_Date - Promised_Date,'D hh:mm' )

Regards

Anand

suryaa30
Creator II
Creator II

=Ceil(Interval(Date#([Field2], 'MM/DD/YYYY') - Date#([Field1], 'MM/DD/YYYY'), 'DD' ))

etrotter
Creator II
Creator II
Author

I had to change the format in the back end but that worked!

vishsaggi
Champion III
Champion III

Glad. Can you close the thread marking correct/helpful responses accordingly.