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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
vishus913
Partner - Creator
Partner - Creator

Rank according to two different columns

Hi All,

I have a table like below

Category     SubCategory

A                    a

A                    b

A                    c

B                    x

C                    a

C                    d

Now I want a output like below:

Category     SubCategory     SubRank     Rank

A                    a                         1               1

A                    b                         2               1

A                    c                         3               1

B                    x                         1               2

C                    a                         1               3

C                    d                         2               3

Is there  a way I can achieve the same in qlik Sense?

1 Reply
tresesco
MVP
MVP

I have done in qlikview, and the same expression should work in qlik sense as well.

Capture.JPG