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

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