Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
mhapanka
Creator
Creator

sorting inside the geographic drill down

Im using a geographic drill down as a master item in my charts as follows: Region- subregion- country-state-district

The dimension in my bar chart is geographic drill down and the measures are data missing and data available. I have sorted it as Geographic dimension first and by the expression count(districts) in descending so that the region with highest entries comes first. Now when I use the drill diwn by clicking into a region, sub region and country and so on, it is not in descending order and i dont know how to fix this.

Can someone help me on this?

1 Solution

Accepted Solutions
bwisealiahmad
Partner - Specialist
Partner - Specialist

Hi,

The sorting you can do in Qlik Sense option for the object where you are using the drll down. As you drill down you need to sort each layer you are on.

So in simple terms:

1) Sort first layer.

2) Drill down to next

3) Sort that layer.

etc. until you have sorted all of them in that object.

And for renaming the fields I would do that in the script.

Simple "AS" Statement.

OriginalFieldName AS NewFieldName

Best,

Ali A

View solution in original post

2 Replies
mhapanka
Creator
Creator
Author

Also how can i rename the fields used in a drill down?

bwisealiahmad
Partner - Specialist
Partner - Specialist

Hi,

The sorting you can do in Qlik Sense option for the object where you are using the drll down. As you drill down you need to sort each layer you are on.

So in simple terms:

1) Sort first layer.

2) Drill down to next

3) Sort that layer.

etc. until you have sorted all of them in that object.

And for renaming the fields I would do that in the script.

Simple "AS" Statement.

OriginalFieldName AS NewFieldName

Best,

Ali A