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

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 935 views
  • 0 likes
  • 2 in conversation