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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
FlaminioIta88
Contributor
Contributor

Customize filter box

Hello,

 

I need to customize the option of a filter. I have a dimension like this:

CITIES:

- Rome

- Paris

- New York

- Boston

 

In the filter I want to create 2 groups that contains it:

- Europe (Paris, Rome)

- US (New York, Boston)

 

I know it's possible because I did this in the past but I forgot how to do it (maybe an IF function?)

Thanks

 

 

Labels (1)
2 Replies
sergio0592
Specialist III
Specialist III

Hello,

You can try with :

=if(match(City,'Paris','Rome'),'Europe','US')
BrunPierre
Partner - Master II
Partner - Master II

Hi, something like this leaving room for further grouping.

If(Match(CITIES,'Paris','Rome'),'Europe',
If(Match(CITIES,'New York','Boston'),'US'))