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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

set analysis - multiple criteria in every chart

Hi all,

I'm finding myself using alot of set analysis to cancel out prior selections for specific charts etc.

I'm finding that there are upto 6 or 7 individual expressions that i'm having to cancel out for multiple charts. I'm having to create these same expressions in every chart or object.

Is there a quick way to apply multiple set analysis expressions to a chart rather than having to replicate them each time. Is there a way to create a 'set' of set analysis expressions that can be applied all at once.

Many thanks

Dan

1 Solution

Accepted Solutions
pover
Partner - Master
Partner - Master

Dan,

Create a variable called Set_Analisis_Clear and store the part of set analysis that you repeat (In this case the variable has the value Year=). Then in the expression put expand the variable like below:

=sum({$<$(Set_Analisis_Clear),Customer={'a2i'}>} Sales)

Actually for all expressions that are repeated more then one time, it is more efficient to maintain them when you declare the expressions as variables and then expand them.

Regards.

View solution in original post

1 Reply
pover
Partner - Master
Partner - Master

Dan,

Create a variable called Set_Analisis_Clear and store the part of set analysis that you repeat (In this case the variable has the value Year=). Then in the expression put expand the variable like below:

=sum({$<$(Set_Analisis_Clear),Customer={'a2i'}>} Sales)

Actually for all expressions that are repeated more then one time, it is more efficient to maintain them when you declare the expressions as variables and then expand them.

Regards.