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

 

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 550 views
  • 1 like
  • 2 in conversation