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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—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
  • 2027 views
  • 0 likes
  • 1 in conversation