<?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: SAS VA Stacked Bar Chart &amp;gt;&amp;gt; How to sort on the measure-value? in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Stacked-Bar-Chart-gt-gt-How-to-sort-on-the-measure-value/m-p/355237#M7067</link>
    <description>&lt;P&gt;I created a SAS Sample that I think addresses your issue.&amp;nbsp;&amp;nbsp; &lt;A href="http://support.sas.com/kb/59/480.html" target="_blank"&gt;http://support.sas.com/kb/59/480.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 May 2017 13:22:54 GMT</pubDate>
    <dc:creator>KeithM</dc:creator>
    <dc:date>2017-05-02T13:22:54Z</dc:date>
    <item>
      <title>SAS VA Stacked Bar Chart &gt;&gt; How to sort on the measure-value?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Stacked-Bar-Chart-gt-gt-How-to-sort-on-the-measure-value/m-p/269832#M4171</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm relatively new into SAS / SAS VA, and I'm running into an issue for which I'd like to make use of your expertise...&lt;/P&gt;&lt;P&gt;My question is: &lt;U&gt;&lt;STRONG&gt;"How can I sort my stacked bar-chart by value in SAS VA"&lt;/STRONG&gt;&lt;/U&gt;?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;More details&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- When I create a bar chart with only categories and 1&amp;nbsp;measure, by default, the bars are sorted by the value (for e.g. sum of value)&amp;nbsp;&lt;/P&gt;&lt;P&gt;- When I add a 3rd item to this chart (so it will be a&amp;nbsp;&lt;U&gt;stacked&lt;/U&gt; bar-chart, I only seem to be able to sort by the category in my chart and not anymore by value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this possible at all in SAS VA? And if so, how can it be achieved?&lt;/P&gt;&lt;P&gt;It might be that we don't have the newest version (I'm not 100% sure and will check it tomorrow), but in the version at the client where I now work, I didn't get it working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find an excelfile with "sample data" and a pivot-chart in Excel, which does exactly what I want.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The chart is built up by&amp;nbsp;&lt;/P&gt;&lt;P&gt;- taking sum of value (=x-axis)&lt;/P&gt;&lt;P&gt;- broken down by ITEM (=y axis)&lt;/P&gt;&lt;P&gt;- broken down by GROUP (=stacked bars)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the example excel, it is sorted (correctly) by the sum of value by ITEM; in SAS VA I need your advise to have the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for helping; please let me also know if this is not possible, so I can stop searching.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Roberto&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Roberto&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 18:16:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Stacked-Bar-Chart-gt-gt-How-to-sort-on-the-measure-value/m-p/269832#M4171</guid>
      <dc:creator>robertopostma</dc:creator>
      <dc:date>2016-05-11T18:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA Stacked Bar Chart &gt;&gt; How to sort on the measure-value?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Stacked-Bar-Chart-gt-gt-How-to-sort-on-the-measure-value/m-p/271499#M4259</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see that this topic is still unanswered after 1 week... Can you let me know if&amp;nbsp;the problem I describe is clear?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And/or: let me know if it is possible at all (or not)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Roberto&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 18:22:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Stacked-Bar-Chart-gt-gt-How-to-sort-on-the-measure-value/m-p/271499#M4259</guid>
      <dc:creator>robertopostma</dc:creator>
      <dc:date>2016-05-18T18:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA Stacked Bar Chart &gt;&gt; How to sort on the measure-value?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Stacked-Bar-Chart-gt-gt-How-to-sort-on-the-measure-value/m-p/271542#M4264</link>
      <description>&lt;P&gt;Roberto:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Out of the box (even with the most current VA release v7.3), with Stacked Bar Chart, you can sort by Category variable or Measure 1 or Measure 2 or Measure 3 or Measure n.&amp;nbsp; It doesn't automatically behind the scenes Sum all the Measures that comprise the Stacked Bar Chart and allow a sort on that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With that said, do you happen to be familiar with Custom Graph Builder that's part of SAS Visual Analytics?&lt;/P&gt;
&lt;P&gt;Within that, you can build a custom bar chart that mimics what's in your Excel file.&lt;/P&gt;
&lt;P&gt;Not sure I can be detailed enough here with exact steps required and be succint at same time.&lt;/P&gt;
&lt;P&gt;But a high level ... within Custom Graph Builder ...&lt;/P&gt;
&lt;P&gt;* 2 Bar Charts that share the same Category variable and axes&lt;/P&gt;
&lt;P&gt;* Bar Chart 1 is for the individual bar measures (e.g. your Group A, B, C, etc.&amp;nbsp;numeric measures)&lt;/P&gt;
&lt;P&gt;* Bar Chart 2 is for a calculated item that is the sum of measures stacked in Bar Chart 1&lt;/P&gt;
&lt;P&gt;* Bar Chart 2 will need to be positioned behind Bar Chart 1 and have transparency settings which basically makes Bar Chart 2 invisible&lt;/P&gt;
&lt;P&gt;* But you'll be able to sort on a measure which serves as your "Sum of all Measures"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;White Papers on Custom Graph Builder, though not specific to above scenario:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings14/SAS346-2014.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings14/SAS346-2014.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings15/SAS1800-2015.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings15/SAS1800-2015.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sincerely,&lt;/P&gt;
&lt;P&gt;Ted Stolarczyk, SAS Customer Loyalty team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2016 20:59:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Stacked-Bar-Chart-gt-gt-How-to-sort-on-the-measure-value/m-p/271542#M4264</guid>
      <dc:creator>TedStolarczyk</dc:creator>
      <dc:date>2016-05-18T20:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA Stacked Bar Chart &gt;&gt; How to sort on the measure-value?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Stacked-Bar-Chart-gt-gt-How-to-sort-on-the-measure-value/m-p/271720#M4277</link>
      <description>Thanks for your quick-reply; I wasn't aware of the custom-chart concept.&lt;BR /&gt;&lt;BR /&gt;To be honest, it looks like it takes quite some effort to make this (for a common requirement). But it indeed looks like this can cover the requirement.&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;Roberto</description>
      <pubDate>Thu, 19 May 2016 14:27:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Stacked-Bar-Chart-gt-gt-How-to-sort-on-the-measure-value/m-p/271720#M4277</guid>
      <dc:creator>robertopostma</dc:creator>
      <dc:date>2016-05-19T14:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA Stacked Bar Chart &gt;&gt; How to sort on the measure-value?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Stacked-Bar-Chart-gt-gt-How-to-sort-on-the-measure-value/m-p/355152#M7046</link>
      <description>&lt;P&gt;I have same problem but don't really understand how can I solve it. Could you give more detailed steps?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2017 08:36:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Stacked-Bar-Chart-gt-gt-How-to-sort-on-the-measure-value/m-p/355152#M7046</guid>
      <dc:creator>Jadwiga</dc:creator>
      <dc:date>2017-05-02T08:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA Stacked Bar Chart &gt;&gt; How to sort on the measure-value?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Stacked-Bar-Chart-gt-gt-How-to-sort-on-the-measure-value/m-p/355237#M7067</link>
      <description>&lt;P&gt;I created a SAS Sample that I think addresses your issue.&amp;nbsp;&amp;nbsp; &lt;A href="http://support.sas.com/kb/59/480.html" target="_blank"&gt;http://support.sas.com/kb/59/480.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2017 13:22:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Stacked-Bar-Chart-gt-gt-How-to-sort-on-the-measure-value/m-p/355237#M7067</guid>
      <dc:creator>KeithM</dc:creator>
      <dc:date>2017-05-02T13:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA Stacked Bar Chart &gt;&gt; How to sort on the measure-value?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Stacked-Bar-Chart-gt-gt-How-to-sort-on-the-measure-value/m-p/355385#M7080</link>
      <description>&lt;P&gt;Thank you! I tried to follow all the steps but the result looks strange... Do you know what went wrong? (see attached picture)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added Rank (top 10 on frequency)- could that be a reason?&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13771iA7C3A7CF9AF37AB1/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Capture.PNG" title="Capture.PNG" /&gt;</description>
      <pubDate>Tue, 02 May 2017 20:24:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Stacked-Bar-Chart-gt-gt-How-to-sort-on-the-measure-value/m-p/355385#M7080</guid>
      <dc:creator>Jadwiga</dc:creator>
      <dc:date>2017-05-02T20:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAS VA Stacked Bar Chart &gt;&gt; How to sort on the measure-value?</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Stacked-Bar-Chart-gt-gt-How-to-sort-on-the-measure-value/m-p/356375#M7123</link>
      <description>&lt;P&gt;I would remove rank and see if that makes a difference.&amp;nbsp; I know the sample/workaround is very specific so some subtle changes may not work.&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2017 13:29:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-VA-Stacked-Bar-Chart-gt-gt-How-to-sort-on-the-measure-value/m-p/356375#M7123</guid>
      <dc:creator>KeithM</dc:creator>
      <dc:date>2017-05-05T13:29:45Z</dc:date>
    </item>
  </channel>
</rss>

