Discussion board where members can get started with Qlik Sense.
I have 4 columns that I am using to create ranks from other measures:
For the 4 columns I am using the below expression:
I then add the 4 columns together with the below expression into "Sum of Rank"
Column(6) + Column(7) + Column(8) + Column(9) (stored in variable "Sum_of_Rank")
Then, in the column "Final Rank", I am attempting to rank on the "Sum of Rank" with the below expression.
However, this is not working. I believe the problem is traced back to the Columns being added in the measure. Any ideas? Some data below
|QTD Power Ranking||QTD Power Ranking QoQ||QTD Power Ranking QoQ%||QTD PTQ Ranking||Sum of Rank||Final Rank|
Solved! Go to Solution.
Hi Sunny, thats not working, I added the formula in the variable directly to the expression and it still does not work. See below.
Column(6) + Column(7) + Column(8) + Column(9),
I added all the expressions togther from those columns like you suggested and it seems to be working. However, I actually want to do the reverse ranking. For example:
the numbers for 4 ranking columns are 4+4+5+13 which equals a sum of rankings of 26, which is the lowest sum of all the corresponding ranking columns, and therefore has the best Power Ranking.
on the flip side: 127+130+132+104=493 has highest sum of all the corresponding ranking columns, and therefore has the worst Power Ranking.
However, this PowerRankning expresion below is ranking based on the hihest number, so therefore 493 is the 1 ranking while 26 is 135. I want to flip this around.