BookmarkSubscribeRSS Feed
Ujjawal
Quartz | Level 8

I want to use the other variable when filter is cleared from dropdown. In other words, I want to refer the different variable when data is shown at overall level (which means clearing filter). Is it possible via parameter?

1 REPLY 1
mfab
Quartz | Level 8

Sure, that should be possible:

 

  • create a parameter from your drop-down list
  • create new filter on the element you want to filter on
  • edit the filter
  • use the boolean operator IF...ELSE
  • use the parameter in IF part with a comparison operator (I would suggest something like 'missing')
  • insert your filter criteria if the parameter is missing (that means, no value selected in drop down)
  • insert your filter criteria if the parameter is not missing (something like xyz contains parameter, xyz = parameter, etc.)

I have used a text box for something like this. I think this should also work with a drop-down list.

 

Cheers,

Michael

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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