Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Forcing Filter selection on a table measure based on Set Analysis when the field being filtered is part of set analysis

Hi experts,

I have a scenario where I want a filter selection to apply on a table measure based on a set analysis like this -

measure = Sum({$<PRODUCT_NAME = {$(vMarket1)}>} TRX)

The filter selection is on PRODUCT_NAME. Above measure is ignoring the filter selection on PRODUCT_NAME as it has been used inside set analysis expression. Could you please suggest a work around this ? Thanks!

1 Solution

Accepted Solutions
sunny_talwar

May be this:

Sum({$<PRODUCT_NAME *= {$(vMarket1)}>} TRX)

View solution in original post

6 Replies
isingh30
Specialist
Specialist

= Sum({$<PRODUCT_NAME = {'vMarket1'}>} TRX)

sunny_talwar

May be this:

Sum({$<PRODUCT_NAME *= {$(vMarket1)}>} TRX)

Anonymous
Not applicable
Author

Hi Ishtdeep, vMarket is a variable so I am not sure how removing $ expansion would help.

Anonymous
Not applicable
Author

Thanks Sunny. That worked. Could you please help understand how adding an asterisk after field name made it abide the filter selection.

Is there any documentation around this which could help. Thanks!

sunny_talwar

Yes, there is... check here

Implicit Set Operators

Anonymous
Not applicable
Author

Thank You Sunny!