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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

set analysis: use complete dataset and 1 selection

I want to disregard all selections for this expression, except the city_id

The expression calculates the percentage of the population that has called the infocenter.

But the total population always has to be the total population, except when you select a city.

Then it has to be the total population of that city, not considering all the other selections that are made.

This is what I have, just disregarding all the selections:

count(DISTINCT inforequest_id)/count(total DISTINCT{1} inhabitant_id)

How do I add that the city_id has to be the selected city_id?

Hope someone can help!

Kind regards,

Katleen

Labels (1)
10 Replies
Not applicable
Author

Exactly what I wanted, thank you very much!