BookmarkSubscribeRSS Feed
Suprodip98
Calcite | Level 5
I wanted to show top/bottom 5 zones of total business based on the difference of business as on date and business on last FY.

While calculating the difference I had used sum(by_group) in it and named the variable 'X'.

The variable 'X' is not showing in rank , this is the problem.

Can anyone please guide me on an alternative?

Thanks!
1 REPLY 1
TeriPatsilaras
SAS Employee

Hi @Suprodip98 

 

In order to use a date data item in the Rank object, you'll need to use the TreatAs operator to convert the SAS date into a number.  

 

I have a blog using an older version of SAS Visual Analytics here:  Use Rank in SAS Visual Analytics to display the last date, month or rolling window 

 

Let me know if you have additional questions.

Thank you,

Teri

Teri Patsilaras is a Senior Manager in the Global Enablement and Learning (GEL) Team within SAS R&D's Technology Transfer and Governance Division

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 1 reply
  • 383 views
  • 0 likes
  • 2 in conversation