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!

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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