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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sum on Absolute date values basis

Hello

I have the followig formula that sum the sales of the prior week:

Sum( {<FECHA = {">=$(=WeekStart(Date(Today()-7))) <=$(=WeekEnd(Date(Today()-7)))"}>} TOT_COMISION_COMPARTIDA)

But when I select a filter, let say May 2015, the sum is not respect me the sum and the graphic dont show me anathig

is any form that this sum always gave me values no matter the date filters I select??

Best Regards

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Try a set identifier 1 to disregard all selections:

Sum( {1<FECHA = {">=$(=WeekStart(Date(Today()-7))) <=$(=WeekEnd(Date(Today()-7)))"}>} TOT_COMISION_COMPARTIDA)


Alternatively, clear all selections in fields that might interfere with your FECHA modifier, i.e. selections in calendar fields, like Month, Year:

Sum( {<FECHA = {">=$(=WeekStart(Date(Today()-7))) <=$(=WeekEnd(Date(Today()-7)))"}, MonthField=, YearField= >} TOT_COMISION_COMPARTIDA)


View solution in original post

1 Reply
swuehl
MVP
MVP

Try a set identifier 1 to disregard all selections:

Sum( {1<FECHA = {">=$(=WeekStart(Date(Today()-7))) <=$(=WeekEnd(Date(Today()-7)))"}>} TOT_COMISION_COMPARTIDA)


Alternatively, clear all selections in fields that might interfere with your FECHA modifier, i.e. selections in calendar fields, like Month, Year:

Sum( {<FECHA = {">=$(=WeekStart(Date(Today()-7))) <=$(=WeekEnd(Date(Today()-7)))"}, MonthField=, YearField= >} TOT_COMISION_COMPARTIDA)