@ballardw Thanks for the code you shared.
But i am trying this on SAS VA side so the Ranking will come dynamically on VA.
Please help if you know anything.
I've never had any access to VA so can't help there. I will try moving this thread to the VA area though.
Hi All,
I want to show Ranking of Customer Based on Revenue.
I know that there is feature of SAS VA where we can select Rank based on which measure.
But I also want to show Rank number.
Ex:-
Customer Name | Rank | Revenue |
C1 | 1 | 999 |
C2 | 2 | 998 |
C3 | 3 | 987 |
C4 | 4 | 986 |
C5 | 5 | 985 |
Hello,
I don't think this is possible within Visual Analytics, but it should be reasonably simple to do as part of your data preparation in SQL or SAS data step code.
If you did it that way, the results would be "baked in" to your data and the ranking numbers would not dynamically change when you apply filters in VA and so on. But depending on how you use the data in your report, maybe that would not be a serious problem.
I hope that is helpful.
Sam
If you are on SAS VA 8.3 you can do this:
By doing this:
Here the syntax version:
AggregateCells(_Sum_, 1, column, CellIndex(start, 0), CellIndex(current, 0))
Hope it will help,
GM.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.