BookmarkSubscribeRSS Feed
pujasharma_ps
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
Quentin
Super User

Please update your question to include a CARDS DATA step to create a small amount of sample data (or you could use sashelp.class or some other sashelp dataset that we all have), and show the code you tried.

The Boston Area SAS Users Group is hosting free webinars!

Register now at https://www.basug.org/events.

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand in the Innovate Hub.

Watch 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
  • 914 views
  • 0 likes
  • 2 in conversation