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 Super FREQ
@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 Super FREQ

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.

 

SAS INNOVATE 2024

Innovate_SAS_Blue.png

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. 

Register now!

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
  • 996 views
  • 0 likes
  • 4 in conversation