BookmarkSubscribeRSS Feed
ashishj816
Quartz | Level 8

@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.

5 REPLIES 5
ballardw
Super User

I've never had any access to VA so can't help there. I will try moving this thread to the VA area though.

Sam_SAS
SAS Employee
@ashishj816, what was the original question?

Thanks,
Sam
ashishj816
Quartz | Level 8

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 1999
C22998
C33987
C44986
C55985
Sam_SAS
SAS Employee

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

GM_C
Fluorite | Level 6

If you are on SAS VA 8.3 you can do this: 

PICT.PNG

By doing this:  

FORMULA.PNG

 Here the syntax version: 

AggregateCells(_Sum_, 1, column, CellIndex(start, 0), CellIndex(current, 0))

 

 

Hope it will help, 

GM.

 

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
Tips for filtering data sources in SAS Visual Analytics

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.

Discussion stats
  • 5 replies
  • 1322 views
  • 0 likes
  • 4 in conversation