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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
JoseGarcia
Creator III
Creator III

Filter Pane

Hi there, 

how do I make  filter pane show only two  values from the dimension? using formula: 

=if(Dimension = 'Value1' or Dimension = 'Value2', Dimension)

This is not working 😞
Any ideas?
Thanks! 

Labels (1)
1 Solution

Accepted Solutions
Vegar
MVP
MVP

Your expression looks OK.

Try

If(match(Dimension,'Value1','Value2'), Dimension,  null())

Or try 

Aggr(Only({<Dimension={'Value1','Value2'}>}Dimension),Dimension)

View solution in original post

2 Replies
Vegar
MVP
MVP

Your expression looks OK.

Try

If(match(Dimension,'Value1','Value2'), Dimension,  null())

Or try 

Aggr(Only({<Dimension={'Value1','Value2'}>}Dimension),Dimension)

JoseGarcia
Creator III
Creator III
Author

Hi Vegar, both expressions worked nicely! 

Thansk a million for your support here!