Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set analysis on a "fields = values of list box"

Hi,

We've  got a problem on set analysis. We want to filter on values selected in the listbox

example :

=sum(

               {1<[Product_Family] = {"List of selected object"}

  Sales

The user can select on or multiple values

Thx a lot

1 Solution

Accepted Solutions
bbi_mba_76
Partner - Specialist
Partner - Specialist

Hi,

maybe with

=sum({1<[Product_Family]=p([Product_Family])>}Sales)

View solution in original post

4 Replies
bbi_mba_76
Partner - Specialist
Partner - Specialist

Hi,

maybe with

=sum({1<[Product_Family]=p([Product_Family])>}Sales)

Not applicable
Author

I have perhaps sth for you:

 

To get everything, except one or two fields, see the excellent post by Smakovskiy :

  http://community.qlik.com/docs/DOC-1334

 

If I want everything (All values) except for 2 dimensions: PRODCUT and MONTH, I would write: 

=sum({$<[$(=Concat({1<$Field-={'PRODUCT','MONTH'}>}distinct $Field,']=,[' )&']=')>} VALUE)

Fabrice

Clever_Anjos
Employee
Employee

Does your listbox attached to Product_Family field?

Not applicable
Author

Works fine thx !