BookmarkSubscribeRSS Feed
jmehul
Quartz | Level 8

Hi,

I want to create 2 buttons in my SAS VA report, one for the top count and another one for the Bottom count (Rank section),

which will change the chart accordingly. 

Is there any way to do so?

 

Thanks.

1 REPLY 1
FredrikE
Rhodochrosite | Level 12

I don't think you can do it out of the box, but maybe by using two variables for the counting?!

Assign the value 1 to the first one and -1 to the second.

 

Assign a parameter to your buttons.

 

Then create a new calculated measure that checks the parameters value and either use the first variable (1) or the second (-1).

 

Then use this measure in your graph and do the ranking.

 

I have not tested it, but it could work 🙂

 

//Fredrik

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
  • 709 views
  • 1 like
  • 2 in conversation