Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
zagzebski
Creator
Creator

Set Analysis - Disregard some selections, Accept Others

Hope this is simple.

I need to have an expression that disregards all selections EXCEPT for the following

(1) Product = 'Books'

(2) Year Month of Sale = respect the selection(s) that is made

Confused on how I say disregard everything except for #1 and #2

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Something like:

Sum({1<Product ={"Books"},[Year Month]=p([Year Month])>}Amount)


talk is cheap, supply exceeds demand

View solution in original post

3 Replies
nilesh_gangurde
Partner - Specialist
Partner - Specialist

Hii,

i think you want to ignore the selections. You can ignore the selections by using the following script.

if you want the sum of Amount and that too only for Product = 'Books' then here is the syntax.

Sum({<Product ={"Books"},Field1 =,Field2=>}Amount)

And also the selection made in the Field1 and Field2 are ignored.

-Nilesh

Gysbert_Wassenaar

Something like:

Sum({1<Product ={"Books"},[Year Month]=p([Year Month])>}Amount)


talk is cheap, supply exceeds demand
zagzebski
Creator
Creator
Author

Worked perfect - thanks.