BookmarkSubscribeRSS Feed
Quartz | Level 8

VA 7.3


Good morning community,


We've got a situation where we want users to select a value from Drop-Down List 1 and have that value used as the 'default' (or what is initially provided in the window) of Drop-Down List 2. We do _not_ want the value of Drop-Down List 1 to filter Drop-Down List 2 so that is is filtered to only show what was passed from Drop-Down List 1 (from either a parameter or interaction).


Is there a way to have Drop-Down Lists default to a specific value while still retaining all the possible options of the list?




Rhodochrosite | Level 12


I have tried a lot of combinations with listboxes, button bars and lists but I can't make it work :0

I use VA7.4, don't know if it is possible in 8.2.


Calcite | Level 5



I found an answear to a similar question in this paper : "Mastering Parameters in SAS® Visual Analytics" at section "Adding Dynamic maximum functionality to drop-down list".

I just tried it and it worked for me.


The idea is to create a binary variable in your table that will flag your desired default value.
Then add a filter logic on each SAS VA object that you want to filter to only takes rows that are flagged if the parameter is set to missing (i.e. if no value is selected in the dropdown list).


Hope it will help.


Have a nice day.





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
  • 2 replies
  • 1 like
  • 3 in conversation