Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Kwame
Contributor III
Contributor III

Default expression but change upon user selection

Hi guys!

My goal is to default a location, say Sum({<Location={'Africa'}>} Sales) but it should change based on the user's selection in the location filter consisting of other continents.

Appreciate the help.

1 Reply
Aditya_Chitale
Specialist
Specialist

Use below measure expression :

if(getselectedcount(Location), sum(Sales), Sum({<Location={'Africa'}>} Sales))

Regards,

Aditya