BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Rakeon
Quartz | Level 8

Hi,

in sas VA,

-the filter n Between inclusive (4,5) it means:        n <=5 and n>=4

-the filter n  OutsideExclusive(4,4) it means:         n <4 and n >4

 

is it right?

1 ACCEPTED SOLUTION

Accepted Solutions
Sam_SAS
SAS Employee

Hello,

 

Your understanding is correct. The documentation for these two operators is:

 

BetweenInclusive

returns true if the first value is within the range defined by the second and third values (including the bounding values).

For example, X BetweenInclusive(50, 100) returns true if X is greater than or equal to 50 and less than or equal to 100.

 

 

OutsideExclusive

returns true if the first value is outside the range defined by the second and third values (excluding the bounding values).

For example, X OutsideExclusive(50, 100) returns true if X is less than 50 or greater than 100.

Note: The OutsideExclusive operator has the same effect as Not (BetweenInclusive).
 
Let us know if you have further questions.
Thanks,
Sam

 

View solution in original post

1 REPLY 1
Sam_SAS
SAS Employee

Hello,

 

Your understanding is correct. The documentation for these two operators is:

 

BetweenInclusive

returns true if the first value is within the range defined by the second and third values (including the bounding values).

For example, X BetweenInclusive(50, 100) returns true if X is greater than or equal to 50 and less than or equal to 100.

 

 

OutsideExclusive

returns true if the first value is outside the range defined by the second and third values (excluding the bounding values).

For example, X OutsideExclusive(50, 100) returns true if X is less than 50 or greater than 100.

Note: The OutsideExclusive operator has the same effect as Not (BetweenInclusive).
 
Let us know if you have further questions.
Thanks,
Sam

 

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 849 views
  • 1 like
  • 2 in conversation