Qlik Community

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Tell us which business and trade publications you read most regularly: RESPOND NOW
Showing results for 
Search instead for 
Did you mean: 

Limit a Dimension based on measure not in the chart

I have a line chart.  A dimension of Territory and a measure.

I want to limit the Territories that are displayed based on a different measure that is not displayed in the chart and use the limitation property to just display the top 5 territories based on this measure.  But in the chart display the measure values for the main measure.

The limitation property appears to only default to the measure that is in the chart and doesn't allow me to use a different measure.

Is there a way around this?

1 Reply

Use the desired measure to create a flag on top 5 Territories in back end script and use the flag in set analysis of Territories Dimension.

Aggr(only({< Top5Territories  = {1}>}Territories ),Territories )