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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

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

View all other training opportunities.

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