BookmarkSubscribeRSS Feed
databobjr
Calcite | Level 5
Hi,

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.

Bob
2 REPLIES 2
AngelaHall
SAS Employee
Bob,
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
http://sas-bi.blogspot.com
databobjr
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)

Regards,
Bob.

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1137 views
  • 0 likes
  • 2 in conversation