<?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: two levels of sum in a bar chart - _ForAll_ _ByGroup_ in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/two-levels-of-sum-in-a-bar-chart-ForAll-ByGroup/m-p/556404#M12398</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/26102"&gt;@ANLYNG&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I didn't quite understand what exactly did you want to:&lt;/P&gt;
&lt;P&gt;a) highlight the category closest to the "&lt;EM&gt;average of all"&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;b) highlight the "&lt;EM&gt;median of all"&lt;/EM&gt; category&lt;/P&gt;
&lt;P&gt;c) add a new category (and bar) which represents "&lt;EM&gt;avg/median of all"&lt;/EM&gt;.&amp;nbsp; Needs to be logically correct place considering sort order.&amp;nbsp; This would mean data needs to be added to create that extra category.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't think a) or c) are doable.&lt;/P&gt;
&lt;P&gt;a) VA doesn't have&amp;nbsp;&lt;EM&gt;closest value&lt;/EM&gt; functionality.&lt;/P&gt;
&lt;P&gt;c) in VA one can't add data per se f.ex. . creating new categories split data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While playing around with this I wondered would it be ok just to show the aggregate for all units as a line instead of bars?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With VA8.x you could of course utilize D3.js charts which might help you in this matter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Petri&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="Capture.JPG" style="width: 434px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/29227iE7646FBD034229F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 06 May 2019 12:51:13 GMT</pubDate>
    <dc:creator>PetriRoine</dc:creator>
    <dc:date>2019-05-06T12:51:13Z</dc:date>
    <item>
      <title>two levels of sum in a bar chart - _ForAll_ _ByGroup_</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/two-levels-of-sum-in-a-bar-chart-ForAll-ByGroup/m-p/554459#M12353</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to show column percentages in a bar chart that comprises of two aggregation levels - en per unit and one for all units. I want to show it in the same bar chart but with different colors.&lt;/P&gt;&lt;P&gt;However I can only get the summed values to be shown on each unit. I want to show it only onece on the bar chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See the image below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any ideas how to solve it? we are running SAS VA 7.3 right now. But soon we will upgrade to 8.3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is first the graph I want and below is the graph i made in sas VA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope you can help&amp;nbsp; - thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Want:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wish_picture.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/29075i59AE307F25331C5E/image-size/large?v=v2&amp;amp;px=999" role="button" title="wish_picture.PNG" alt="wish_picture.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="have_picture.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/29076i40BD50D6AFDB735E/image-size/large?v=v2&amp;amp;px=999" role="button" title="have_picture.PNG" alt="have_picture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Apr 2019 08:26:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/two-levels-of-sum-in-a-bar-chart-ForAll-ByGroup/m-p/554459#M12353</guid>
      <dc:creator>ANLYNG</dc:creator>
      <dc:date>2019-04-27T08:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: two levels of sum in a bar chart - _ForAll_ _ByGroup_</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/two-levels-of-sum-in-a-bar-chart-ForAll-ByGroup/m-p/556404#M12398</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/26102"&gt;@ANLYNG&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I didn't quite understand what exactly did you want to:&lt;/P&gt;
&lt;P&gt;a) highlight the category closest to the "&lt;EM&gt;average of all"&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;b) highlight the "&lt;EM&gt;median of all"&lt;/EM&gt; category&lt;/P&gt;
&lt;P&gt;c) add a new category (and bar) which represents "&lt;EM&gt;avg/median of all"&lt;/EM&gt;.&amp;nbsp; Needs to be logically correct place considering sort order.&amp;nbsp; This would mean data needs to be added to create that extra category.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't think a) or c) are doable.&lt;/P&gt;
&lt;P&gt;a) VA doesn't have&amp;nbsp;&lt;EM&gt;closest value&lt;/EM&gt; functionality.&lt;/P&gt;
&lt;P&gt;c) in VA one can't add data per se f.ex. . creating new categories split data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While playing around with this I wondered would it be ok just to show the aggregate for all units as a line instead of bars?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With VA8.x you could of course utilize D3.js charts which might help you in this matter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Petri&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="Capture.JPG" style="width: 434px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/29227iE7646FBD034229F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2019 12:51:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/two-levels-of-sum-in-a-bar-chart-ForAll-ByGroup/m-p/556404#M12398</guid>
      <dc:creator>PetriRoine</dc:creator>
      <dc:date>2019-05-06T12:51:13Z</dc:date>
    </item>
  </channel>
</rss>

