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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
MZqlik
Contributor III
Contributor III

Part of set analysis fixed and part change with variables?

Hi There,
I would like the below formula to change only when the "Grouping High" field is selected.
Any other filter selection don't have to affect the final aggregation.
I tried to close the square brackets and add + $<GROUPING_HIGH  equals to any selection.

Sum({1<
PERIOD ={'$(vCurrentPeriod)'},
IN_BUDGET = {'Y'},
TYPE = {'ACTUAL'}> +
$<GROUPING_HIGH = {'Better Workplace'}>}
SAVINGS)/1000000

This doesn't seem to be working at the moment, the figure doesn't change when I select a different filter
Is there a way to achieve this without creating a variable?

thank you

Labels (6)
4 Replies
Digvijay_Singh

Not sure of without actually testing it but you may try this -

Sum({1<
PERIOD ={'$(vCurrentPeriod)'},
IN_BUDGET = {'Y'},
TYPE = {'ACTUAL'},GROUPING_HIGH = P(GROUPING_HIGH>}
/1000000

MZqlik
Contributor III
Contributor III
Author

No unfortunately this doesn't solve it...

Digvijay_Singh

There was a typo, hope you added missing ')' in the P function..

Sum({1<
PERIOD ={'$(vCurrentPeriod)'},
IN_BUDGET = {'Y'},
TYPE = {'ACTUAL'},GROUPING_HIGH = P(GROUPING_HIGH)>}
/1000000

MZqlik
Contributor III
Contributor III
Author

I definitely sorted that, it doesn't work. thank you anyway