BookmarkSubscribeRSS Feed
abhilashatiwari
Obsidian | Level 7

Hi,

I have two filters named "Country" and "City" used as section prompt in my report. I want to create a interaction/ hierarchy, in a way that if I select a country in "Country"filter, then the cities should be filltered according to the selection made for the country.

 

I can do this in the report, but unable to do in for section prompt

 

Please let me know if its possible using parameter or any workaround.

 

Thanks!

 

Regards,
Abhi

1 REPLY 1
Explore_SAS
Obsidian | Level 7

Hi Abhilash,

I think use we can filter the 1 value using the another.

 

I selected a below use case,

 

1. added 2 dropdowns with country country and city in sectional filter. and created a character parameter on country category. and assigned that character parameter to Country dropdown.

 

Then I selected the city dropdown and clicked on Filters tab to add create a filter on it.

 

and I added below condition country = 'character parameter' 

 

This gives the desired result of filter based on what you select in the country dropdown.

 

I hope this resolves your question.

 

Thanks,

 

 

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!

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
  • 1932 views
  • 0 likes
  • 2 in conversation