BookmarkSubscribeRSS Feed
TzufRaifMia
Fluorite | Level 6

Hey all!

 

TL;DR:

In viya4, I am trying to work with aggregated measures inside condition but it failed, how can it be solved?

 

my mission is to convert SAS code into VA steps, such that no code will be needed.

I am trying to replace proc ranks (which calculates percentiles and creates a new column 'p') with 'percentile' function,

applying it twice (I am interested in percentile10 & 90).

 

then, I am trying to check "if column < percentile10 then 1 else 0", which can later be used just as 'p' column has been used.

I got an error as attached here.

TzufRaifMia_0-1730636057625.png

 

any ideas?

 

Thanks!

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
  • 0 replies
  • 1455 views
  • 0 likes
  • 1 in conversation