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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Date conditional sum

I have a series of values (order qty) and a series of dates (Last Ship Date).  I only want to add values where the date is greater than today.  I currently have this set-up in a pivot table using years and months as the groupinngs.  This is the conditional statement that I am using in the expression: [Last Ship Date]>>Today.  This is the expression: sum([order qty])

I want to do this without putting a filter on entire sheet.  Any recommendations?

2 Replies
Anonymous
Not applicable
Author

try

sum({<[Last Ship Date]={'>$()=today()'}>}[order qty])

MarcoWedel

Hi,

you could use this expression:

=Sum({$<[Last Ship Date]={">$(=Today())"}>} [order qty])

QlikCommunity_Thread_135437_Pic1.JPG.jpg

hope this helps

regards

Marco