cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Does SAC have a Rank function?

MadhuLodugu48
Participant
0 Likes
1,905

I did not find the Rank function in the calculation editor when creating a column that simply ranks values in a measure column like below. Please let me know if there is a way to do this in a story in SAC.

Sales             Rank

200                   4

350                   3

500                   2

800                   1

View Entire Topic
Yogeshwar_M
Active Participant

Hi @MadhuLodugu48 ,

You can do this just right click on measure section as shown below then

add client calculation as shown in below

Yogeshwar_M_0-1738771374769.png

After click on Rank Number on column will add to show rank

Yogeshwar_M_1-1738771471166.png

Kindly upvote and like if you find it useful.

Thanks

 

MadhuLodugu48
Participant
0 Likes
Hi Yogeshwar, Thank you but that is not all. I want to be able to create similar Rank columns for a couple of measures in the able and then be able to add the values in the Rank columns horizontally (row) and then arrive at a Final column which contains the sum of rank values in each cell. I could not achieve this with the method you specified above. I am curious to know if a calculated rank column can be created manually like other calculations so that my requirement can be achieved?
Yogeshwar_M
Active Participant
0 Likes

Hi MadhuLodugu,

You can achieve this by creating dummy measure in model Here below shows sample.

I have 2 measure Profit and Sale

Then I create 2 Rank column for Rank_Profit and Rank_Sale 

Then Sum of Rank

You can give rank as per your choice then addition of this rank measures in last column As shown below

Yogeshwar_M_0-1738855218667.png

Thanks.

 

MadhuLodugu48
Participant
0 Likes
Yogeshwar, I did not understand how the rank columns can be created in the model. could you please explain. There is no rank function at the model level to my knowledge.