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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Rank Straight Table (multiple dimensions)

Hi,

I am using a straigh table with 2 dimensions.

The first one is selected using a variable and the second is selected through a cycle group.

For example,

vDim1          cycle group

A                    A

B                    B

C                    C

D                    D

Where you can combine as you wish.

How can I rank and order by the total value combined of the 2 dimensions?

Thanks in advance!

JS

3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Can you tell us what you want to rank?

Perhaps you should read these two documents?


talk is cheap, supply exceeds demand
Not applicable
Author

"How can I rank and order by the total value combined of the 2 dimensions?"


Example:


Dimension A from vDim1                                  Dim B from Cycle Group 

X

a

35 087 328,00 €

X

e

8 754 348,00 €

Y

i

4 906 770,00 €

Z

o

4 882 101,00 €

W

u

4 750 575,00 €

Q

c

4 505 967,00 €

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You can calculate the rank with rank(total ...something... ). Sorting can be done by moving the expression to the top of the list on the Sort tab and choosing to sort by Numeric Value in descending order.


talk is cheap, supply exceeds demand