BookmarkSubscribeRSS Feed
Calcite | Level 5

I need to create a set of prompts that are dynamic, cascading, but have an option for user not to specify one of more items.

For example, I will provide the users with three prompts: date ranges, state and city. A user can specify a date range (12/1/2010 to 12/20/2010) and states (CA, NY) and City (San Francisco,New York). Or the user should have the option to not to select any city, in this case, all cities in CA and NY will be displayed. Or the user can select only date and cities and without the need to specify the states.

I look at the cascading prompts in information map, it seems that if you specify a prompt, it becames a required item and the user must provide a value.

Any work around for this kind of prompts?

Thanks for your help.

SAS Employee
Several options might be considered a workaround for this scenario.

1st - look into the Information Map Studio Help 'Guidelines for Establishing Dependencies between Prompts' in the rules & guidelines section. The example (within the 'Establish dependencies between prompts' link) specifically mentions an 'all possible values' option.

2nd - When using a separate table to generate the dynamic selections I have seen additional rows with a "dummy" selection such as 'All States' work in this scenario.

~ Angela
Calcite | Level 5
Thanks for pointing me to the menu.

Yes. there is an option for "All possible value". It is a check box inside the include special values box in the prompt type and values window.(tab)




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!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Get the $99 certification deal.jpg



Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 2 in conversation