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

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