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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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