<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Aggregaed measure in condition in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Aggregaed-measure-in-condition/m-p/949800#M18453</link>
    <description>&lt;P&gt;Hey all!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TL;DR:&lt;/P&gt;&lt;P&gt;In viya4, I am trying to work with aggregated measures inside condition but it failed, how can it be solved?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my mission is to convert SAS code into VA steps, such that no code will be needed.&lt;/P&gt;&lt;P&gt;I am trying to replace proc ranks (which calculates percentiles and creates a new column 'p') with 'percentile' function,&lt;/P&gt;&lt;P&gt;applying it twice (I am interested in percentile10 &amp;amp; 90).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then, I am trying to check "if column &amp;lt; percentile10 then 1 else 0", which can later be used just as 'p' column has been used.&lt;/P&gt;&lt;P&gt;I got an error as attached here.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TzufRaifMia_0-1730636057625.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/101947i7168F93E8B2F0E5B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TzufRaifMia_0-1730636057625.png" alt="TzufRaifMia_0-1730636057625.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Sun, 03 Nov 2024 12:14:33 GMT</pubDate>
    <dc:creator>TzufRaifMia</dc:creator>
    <dc:date>2024-11-03T12:14:33Z</dc:date>
    <item>
      <title>Aggregaed measure in condition</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Aggregaed-measure-in-condition/m-p/949800#M18453</link>
      <description>&lt;P&gt;Hey all!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TL;DR:&lt;/P&gt;&lt;P&gt;In viya4, I am trying to work with aggregated measures inside condition but it failed, how can it be solved?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my mission is to convert SAS code into VA steps, such that no code will be needed.&lt;/P&gt;&lt;P&gt;I am trying to replace proc ranks (which calculates percentiles and creates a new column 'p') with 'percentile' function,&lt;/P&gt;&lt;P&gt;applying it twice (I am interested in percentile10 &amp;amp; 90).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then, I am trying to check "if column &amp;lt; percentile10 then 1 else 0", which can later be used just as 'p' column has been used.&lt;/P&gt;&lt;P&gt;I got an error as attached here.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TzufRaifMia_0-1730636057625.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/101947i7168F93E8B2F0E5B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TzufRaifMia_0-1730636057625.png" alt="TzufRaifMia_0-1730636057625.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 03 Nov 2024 12:14:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Aggregaed-measure-in-condition/m-p/949800#M18453</guid>
      <dc:creator>TzufRaifMia</dc:creator>
      <dc:date>2024-11-03T12:14:33Z</dc:date>
    </item>
  </channel>
</rss>

