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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Filter values in a dimension.

Hello.
I am creating a Pivot Chart. I have a dimension Population_Category. There are 3 distinct types in Population_Category. These are: Rural Population, Urban Population and Total Population.
Could you please help me to filter only two types: Rural and Urban population, in chart properties? Is it possible in Edit Expression?
Thanks in advance!!

Labels (1)
1 Solution

Accepted Solutions
Not applicable
Author

The filtering needs to be done in the dimension level and not in expression. Go to dimension tab -

Include this in the calculated dimension areas...below is an example

=if(pop='urban','urban',if(pop='rural','rural'))

and check Suppress when value is null option.

View solution in original post

2 Replies
Not applicable
Author

The filtering needs to be done in the dimension level and not in expression. Go to dimension tab -

Include this in the calculated dimension areas...below is an example

=if(pop='urban','urban',if(pop='rural','rural'))

and check Suppress when value is null option.

Not applicable
Author

Thanks Siva. It works.