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: 
jonafor25
Contributor II
Contributor II

Modification of the dimension in the filter panel

I need Dimension1 to display only x, y, in the filter panel.

I already applied the (If) but it changes the name of the dimension and leaves it with the function and goes not allow to change it:

if(Dimension1=x or Dimension1=y) [medida]

 

Thanks.

 

Labels (1)
2 Replies
Chanty4u
MVP
MVP

try this in filter pane expression  

=if(match((Dimension1),'x','y'),Dimension1)

 

or you can create in script  :

if(match((Dimension1),'x','y'),Dimension1)  as NewDim 

 

and use NewDIm as your filter 

 

brunobertels
Master
Master

Hi 

Add this calculated dimension as a master dimension 

if(Dimension1=x or Dimension1=y, [medida] )

Or may be

aggr( if(Dimension1=x or Dimension1=y, [medida] ), medida) 

then give it a name : 

brunobertels_0-1648656179723.png