BookmarkSubscribeRSS Feed
ChristyN
Fluorite | Level 6

Good day, SAS VA guru's.

 

I want to provide the option for users to view trends at either the fiscal, quarterly, or monthly level ((noting that SAS does not recognize our fiscal year (Apr 01 - Mar 31) and associated quarters)). Based on the user selection, the graph would display annual, quarterly,, or monthly trends. Please help!

1 REPLY 1
Sam_SAS
SAS Employee

Hello,

 

What you can do is add a control to your report that sets the value of a parameter, and then create a calculated item that returns a different column based on the value of the parameter using IF/ELSE logic.

 

Essentially, "if parameter equals Month, return Month; else if parameter equals Quarter return Quarter" and so on.

 

This post uses a very old version of VA, but the same principles apply:

https://blogs.sas.com/content/sgf/2016/04/27/use-parameters-to-pick-your-metric-in-visual-analytics-...

 

Sam

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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