@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.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
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.