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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
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

Labels (1)
1 Solution

Accepted Solutions
swuehl
Champion III
Champion III

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
Champion III
Champion III

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)