<?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 Formula calculation in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Formula-calculation/m-p/718556#M14644</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;Does anyone knows the formula used to calculate ‘Normalise groups to 100%’ in the Group Scale which is found under Option in SAS Visual Analytics 8.5?&lt;/P&gt;&lt;P&gt;Thanks Catherine&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cokello_0-1613045871516.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54573iD467B296BD6B06CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cokello_0-1613045871516.png" alt="cokello_0-1613045871516.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Feb 2021 12:19:35 GMT</pubDate>
    <dc:creator>cokello</dc:creator>
    <dc:date>2021-02-11T12:19:35Z</dc:date>
    <item>
      <title>Formula calculation</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Formula-calculation/m-p/718556#M14644</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;Does anyone knows the formula used to calculate ‘Normalise groups to 100%’ in the Group Scale which is found under Option in SAS Visual Analytics 8.5?&lt;/P&gt;&lt;P&gt;Thanks Catherine&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cokello_0-1613045871516.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54573iD467B296BD6B06CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cokello_0-1613045871516.png" alt="cokello_0-1613045871516.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2021 12:19:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Formula-calculation/m-p/718556#M14644</guid>
      <dc:creator>cokello</dc:creator>
      <dc:date>2021-02-11T12:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Formula calculation</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Formula-calculation/m-p/718872#M14651</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/368919"&gt;@cokello&lt;/a&gt;&amp;nbsp;and welcome to the SAS Support Communities!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have never used Visual Analytics, but from the &lt;A href="https://documentation.sas.com/?cdcId=vacdc&amp;amp;cdcVersion=8.5&amp;amp;docsetId=vaobj&amp;amp;docsetTarget=n17j4927o8of5an1qf633jwjffbr.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;If you select &lt;STRONG&gt;Normalize groups to 100%&lt;/STRONG&gt;, then the values for each grouped bar are displayed as percentages of the total.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I conclude that you would divide the individual values (≥0) by the sum of all values (≥0) in the same group and multiply by 100% to obtain percentages (summing to 100% in each group).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the example bar chart presented in the 2014 post&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Visual-Analytics/100-Stacked-Bar-Charts/m-p/153326/highlight/true#M599" target="_blank" rel="noopener"&gt;Re: 100% Stacked Bar Charts&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;If the revenues of the product lines A, B, C and D in facility region "South" are denoted by R&lt;SUB&gt;A&lt;/SUB&gt;, R&lt;SUB&gt;B&lt;/SUB&gt;, R&lt;SUB&gt;C&lt;/SUB&gt; and R&lt;SUB&gt;D&lt;/SUB&gt;, respectively, then the corresponding percentages p&lt;SUB&gt;A&lt;/SUB&gt;, p&lt;SUB&gt;B&lt;/SUB&gt;, etc. (depicted in the stacked bar chart as the heights of the blue, green, red and yellow section of the first bar) are calculated as&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;p&lt;SUB&gt;A&lt;/SUB&gt;&amp;nbsp;= 100% ∙ R&lt;SUB&gt;A&lt;/SUB&gt;/(R&lt;SUB&gt;A&lt;/SUB&gt;+R&lt;SUB&gt;B&lt;/SUB&gt;+R&lt;SUB&gt;C&lt;/SUB&gt;+R&lt;SUB&gt;D&lt;/SUB&gt;)&lt;/LI&gt;
&lt;LI&gt;p&lt;SUB&gt;B&lt;/SUB&gt; = 100% ∙ R&lt;SUB&gt;B&lt;/SUB&gt;/(R&lt;SUB&gt;A&lt;/SUB&gt;+R&lt;SUB&gt;B&lt;/SUB&gt;+R&lt;SUB&gt;C&lt;/SUB&gt;+R&lt;SUB&gt;D&lt;/SUB&gt;)&lt;/LI&gt;
&lt;LI&gt;and so on&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;and similarly for the other three regions.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 13:24:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Formula-calculation/m-p/718872#M14651</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-02-12T13:24:02Z</dc:date>
    </item>
  </channel>
</rss>

