Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis Subset Selections

Hi,

Is it possible to restrict the values available in a chart via set analysis, but then allow the result to still be filtered on by the user?

e.g.

Department:

Finance

Supplies

Corporate

Expression:

=sum({<Department = {'Finance','Supplies'}>}cost)

This expression would sum the cost for Finance and Supplies, excluding Corporate.  If I then wanted to filter down to Finance by selecting it in a list box, it would not alter the sum.

Is there a way to make that happen?

Thanks in advance.

Tom

1 Solution

Accepted Solutions
sunny_talwar

This:

=Sum({<Department *= {'Finance','Supplies'}>}cost) // if you want to filter down to finance on selection

Your current expression should not alter the sum actually. Do you want it to just show Finance when you select Finance or still show both?


View solution in original post

2 Replies
sunny_talwar

This:

=Sum({<Department *= {'Finance','Supplies'}>}cost) // if you want to filter down to finance on selection

Your current expression should not alter the sum actually. Do you want it to just show Finance when you select Finance or still show both?


Not applicable
Author

Hi Sunny,

Yes, I just wanted it to show finance if finance is selected.

The new expression gets highlighted with a syntax error, but it works as I want it to.

Thanks