Hello,
I have a table where I am displaying two dimensions (Category, Sub Category) and two measures (count and rank) . I need to sort based on Category and the rank so they they line up based on
Order by category ASC, Rank ASC. so that it shows up like below. Currently, seems like I cannot sort it based on Category + rank combination, so the issue is for a given category, the rows with ranking does not show up in sequence ( should be rows 1,2,3 and instead sometimes it shows up as 2,3,1 or other sorting is applied.)
Category | Sub Category | Count | Rank |
---|---|---|---|
A | xyz | 90 | 1 |
A | ytx | 80 | 2 |
A | xyt | 50 | 3 |
B | frt | 200 | 1 |
B | trf | 100 | 2 |
B | edr | 40 | 3 |
C | drt | 80 | 1 |
D | trf | 70 | 1 |
D | edr | 20 | 2 |