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 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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