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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
oanalung
Contributor III
Contributor III

QlikSense UI formula

hi, I have this formula - sum([Sales]) that I am using in a chart. 

is there a way to write this formula so that only one field can be used to  change the data in the chart(to filter) - Month? 

I want to make sure sums are always shown the same no matter what selections we have in the app, but I want to change the chart only based on Month filter. 

 

thank you

Labels (1)
2 Replies
Clever_Anjos
Support
Support

Please try with
sum({1<Month=P(Month)>}[Sales])

MarcoWedel
MVP
MVP

maybe also helpful:

Sum({1<Month=$::Month>} Sales)