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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Restriction dimension values in chart

I have to create a chart with country dimension and sum(net sales) as expression.

I have more than 10 countries in my country column  .

But in the chart i want to show sales of only three countries ie US, UK and Japan . How do i restrict my dimension values in the column?.

Labels (1)
4 Replies
swuehl
Champion III
Champion III

=Sum({<country = {'US','UK','Japan'}>} [net sales])

Not applicable
Author

or you can try with this example:

=Sum({<country = {"US", "UK", "Japan"}>} [net sales])


Regards!

MarcoWedel
MVP
MVP

Hi,

another one:

=Sum({$<country={"(US|UK|Japan)"}>} [net sales])

QlikCommunity_Thread_189151_Pic2.JPG

QlikCommunity_Thread_189151_Pic1.JPG

hope this helps

regards

Marco

Saravanan_Desingh
MVP
MVP

New learning for me marcowedel

So, compound search can be used in Set Analysis