BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
sid5005
Calcite | Level 5

Hi All,

 

I have created 2 separate aggregated measures(YTD and MTD using the "Create--> Year to Date).

I have Year in drop down and a Month in list.

Following are my conditions to display the YTD and MTD values in a list table.

1) When there is no selection YTD should be displayed

2) When only Year is selected YTD should be displayed

3) When only Month or multiple months are selected MTD should be displayed

4) When Year and Month is selected MTD should be displayed.

 

How can this be achieved?

 

1 ACCEPTED SOLUTION

Accepted Solutions
Sam_SAS
SAS Employee
If you assign parameters to your prompts (controls), then it should be possible to use some IF/ELSE logic based on those parameter values to return the appropriate values.

Depending on the version of VA that you have, you might have the IsSet operator available, which can check whether a parameter has a value.

Sam

View solution in original post

1 REPLY 1
Sam_SAS
SAS Employee
If you assign parameters to your prompts (controls), then it should be possible to use some IF/ELSE logic based on those parameter values to return the appropriate values.

Depending on the version of VA that you have, you might have the IsSet operator available, which can check whether a parameter has a value.

Sam

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

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