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

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
fzalexanderjohn
Creator
Creator

Get the Top Value as a Dimension

Hey guys,

I have a table like this: 

OfficeRegionOrder-ID
A110000
A110001
B110002
B110003
B110004
A210005
C210006
C210007
C210008
A310009
A310010
B310011
B410012
B410013
C410014
C410015
C410016
C410017

 

I want in to result as such:

RegionTop-Office
1B
2C
3A
4B

 

Based on the top number of orders per region. So Office B has the most orders in Region 1 and so on.

I really want this as a dimension though since I want to use it for coloring a map later on and I have better possibilities when I use a dimenson

2 Replies
fzalexanderjohn
Creator
Creator
Author

Correction: For Region 4, it should be Office C

fzalexanderjohn
Creator
Creator
Author

This is the closest I have come to a solution but you can see that for some reason I get these null values in the table:

grafik.png