Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Get the values of only selected dimension

I am using a straight table to  populate country,count and clicks.I want to show the sum of clicks obtained for selected countries.I am using the expression 'count({<Country={'USA','India','UK','Canada'}>}Country)' to populate the count column and this  show only the selected countries and when i add another expression 'sum(clicks)' to show sum of clicks each selected country got,then  table shows count of all the countries from my source excel.Below attached is my sample qlikview file

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Add the same filter to the sum expression too: sum({<Country={'USA','India','UK','Canada'}>}clicks)


talk is cheap, supply exceeds demand

View solution in original post

4 Replies
Gysbert_Wassenaar

Add the same filter to the sum expression too: sum({<Country={'USA','India','UK','Canada'}>}clicks)


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

You need the set analysis on the 2nd expression as well.

     Sum({<Country={'USA','India','UK','Canada'}>}Clicks)

Not applicable
Author

Hi thank you for the help it worked for me

Not applicable
Author

Hi thank you for the help