BookmarkSubscribeRSS Feed
amitgsas1
Calcite | Level 5

What is the difference between filters i.e. both simple and advanced filters and display rules. 

 

What are those specific cases when filters i.e. both simple and advanced filters are prefered over display rules ?

 

What are those specific cases when display rules are preferred over filters ?

3 REPLIES 3
Sam_SAS
SAS Employee

Hello,

 

Filters select which data values are displayed and included in calculations (such as totals).

 

Filters documentation

 

Display rules highlight the data values that meet certain criteria (for a very basic example, you could make negative values red.) Display rules do not subset the data.

  

Display rules documentation

 

I hope this helps,

Sam

amitgsas1
Calcite | Level 5

Hi Sam, we also have expressions in display rules where we can narrow down our search eg: Salary > $50,000. In this case, isn't the display rule behaving like a filter. In such cases, the question is whether to use filters or display rules. What's preferred in what scenario.

Madelyn_SAS
SAS Super FREQ

The display rule doesn't remove data from the results, which is what a filter does. With a display rule, you are simply applying a style to values that meet your criteria. For example, changing the color of the value from black to red.

 

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
  • 3 replies
  • 913 views
  • 0 likes
  • 3 in conversation