Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I want to exclude all filter selections apart from month. Given that i have a lot of variables and a lot of script manually typing in for each vairable e.g. (sum({<Statement={'I consider myself a car enthusiast'},Response_Invlovement={'Agree'},Age=,Gender=,.....>} total WGT)) is becoming very cumbersome. Is there a way to exclude all possible selections other than my month variable? I cant manually type in all the variables because of Qlik's character limitation.
Use syntax like this:
Sum({1<
Statement={'I consider myself a car enthusiast'},
Response_Invlovement={'Agree'},
Month = $::Month
>} total WGT))
The {1} set will ignore all selections except for Statement and Response (explicitly defined) and Month (using selection). All other selections are ignored.
(assumes Month is a field not a variable)
Hey Thanks Jonathan ,
When i do that however the filter pane for month becomes empty. I want to be able to still select certain month/s. Also how do i undo making month a field instead of variable?
Cheers,
David
Hi,
Try this -
Sum({1<
Statement={'I consider myself a car enthusiast'},
Response_Invlovement={'Agree'},
Month=P(Month)
>} total WGT))
Thanks,
RT
Also, look here
Thanks Sunny thats really helpful