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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Magogar
Contributor III
Contributor III

Filter panel. Display certain values.

Hello.

I want certain values ​​to be displayed in the filter panel, so I apply the following expression:

=if(city='VALENCIA',desc_prod_acu_cd&' | '&producto_acu_cd)

The problem is that this criterion is also applied in the calculation of the visualization measurements. I only want to select one city, but I don't want it to affect the calculation for other cities.

Thanks.

Labels (3)
1 Solution

Accepted Solutions
Magogar
Contributor III
Contributor III
Author

Solved!

=Aggr(
Only({< flag_cd ={"VALENCIA"} >} desc_prod_acu_cd)
,desc_prod_acu_cd)

https://community.qlik.com/t5/New-to-Qlik-Analytics/Exclude-Values-in-a-Filter/td-p/2451270

Thanks to @rwunderlich 

View solution in original post

1 Reply
Magogar
Contributor III
Contributor III
Author

Solved!

=Aggr(
Only({< flag_cd ={"VALENCIA"} >} desc_prod_acu_cd)
,desc_prod_acu_cd)

https://community.qlik.com/t5/New-to-Qlik-Analytics/Exclude-Values-in-a-Filter/td-p/2451270

Thanks to @rwunderlich