<?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 Re: calculate % column total? in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/calculate-column-total/m-p/769143#M15315</link>
    <description>&lt;P&gt;One possible solution is to create a aggregated table and include the calculated percentage as a variable. &lt;BR /&gt;With the aggregated table the variable becomes static in the scope of this table.&lt;BR /&gt;Now you can rank based on the top5 and show the share correctly. The last object builds upon the aggregated table.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a1.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63962i19F756061E72E616/image-size/large?v=v2&amp;amp;px=999" role="button" title="a1.png" alt="a1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I present you an alternative as well:&lt;BR /&gt;There is a pareto example out there in the communities which uses job execution for that purpose.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Sep 2021 22:56:14 GMT</pubDate>
    <dc:creator>acordes</dc:creator>
    <dc:date>2021-09-22T22:56:14Z</dc:date>
    <item>
      <title>calculate % column total?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/calculate-column-total/m-p/761824#M15171</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently, I am trying to show a top 5 rank in VA within a list table. Showing just the top 5 rank in itself works fine. However, I have now been asked to show how much % of the total a score is.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, my data looks like the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Example Data.PNG" style="width: 168px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/62629iBFB2D82BB936DAC8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Example Data.PNG" alt="Example Data.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I would then like to show the results in a top 5, like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Example wanted result.PNG" style="width: 398px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/62630i99F9876C5562A23F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Example wanted result.PNG" alt="Example wanted result.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, what currently happens is that VA only calculates and shows the total, based on the visible rows, like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JianShen_0-1629125334795.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/62631iD2EC9F7EFC450AAA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JianShen_0-1629125334795.png" alt="JianShen_0-1629125334795.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As such, I was wondering if it's possible to calculate a % of the total within a column in VA version 7.5, while only showing a top 5 rank?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 14:50:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/calculate-column-total/m-p/761824#M15171</guid>
      <dc:creator>JianShen</dc:creator>
      <dc:date>2021-08-16T14:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: calculate % column total?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/calculate-column-total/m-p/762882#M15193</link>
      <description>&lt;P&gt;If you include the&lt;STRONG&gt; All Other&lt;/STRONG&gt; in the ranking, does it rank the percentages as you would like?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 16:18:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/calculate-column-total/m-p/762882#M15193</guid>
      <dc:creator>Madelyn_SAS</dc:creator>
      <dc:date>2021-08-20T16:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: calculate % column total?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/calculate-column-total/m-p/769143#M15315</link>
      <description>&lt;P&gt;One possible solution is to create a aggregated table and include the calculated percentage as a variable. &lt;BR /&gt;With the aggregated table the variable becomes static in the scope of this table.&lt;BR /&gt;Now you can rank based on the top5 and show the share correctly. The last object builds upon the aggregated table.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a1.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63962i19F756061E72E616/image-size/large?v=v2&amp;amp;px=999" role="button" title="a1.png" alt="a1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I present you an alternative as well:&lt;BR /&gt;There is a pareto example out there in the communities which uses job execution for that purpose.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 22:56:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/calculate-column-total/m-p/769143#M15315</guid>
      <dc:creator>acordes</dc:creator>
      <dc:date>2021-09-22T22:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: calculate % column total?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/calculate-column-total/m-p/770901#M15345</link>
      <description>&lt;P&gt;I would add the "All other" ranking.&lt;/P&gt;&lt;P&gt;When you create an aggregated table, you won't be able to calculate correct percentages when you start adding filters to your report or when change the variables in your rows.&lt;/P&gt;&lt;P&gt;Been there, done that &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 14:07:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/calculate-column-total/m-p/770901#M15345</guid>
      <dc:creator>ThdB</dc:creator>
      <dc:date>2021-09-28T14:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: calculate % column total?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/calculate-column-total/m-p/770905#M15346</link>
      <description>&lt;P&gt;If I do not understand wrongly your concern, you can achieve updating the aggregated table correctly applying parameters in the filter of the aggregated table.&lt;/P&gt;
&lt;P&gt;this should keep them synchronized.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 14:28:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/calculate-column-total/m-p/770905#M15346</guid>
      <dc:creator>acordes</dc:creator>
      <dc:date>2021-09-28T14:28:59Z</dc:date>
    </item>
  </channel>
</rss>

