<?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 Custom Sort Order - Different order on a bar and line chart in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Custom-Sort-Order-Different-order-on-a-bar-and-line-chart/m-p/218741#M2475</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; __visiHi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently using SAS VA 7.1 and have hit an odd issue with custom sorts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created a custom sort on a category in order to display a stacked chart in a specific order, grouping similar elements together and shading them using a report level display rule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both charts use the same roles, A date for the Category, a number of hours for the measure and a grouping which has my custom sort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My first graph is a stacked 100% bar chart.&amp;nbsp; The grouping display is perfect with the group order being as per my custom sort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is when I do a stacked line chart, the sort order isn't quite right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Group role has 17 distinct values, and I have it sorted in my desired order (and lets just reference that as values 1 -&amp;gt; 17)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bar chart will display it in order of 1 -&amp;gt; 17 (with sort item 1 being at the bottom of the stack and sort item 17 being at the top of the stack)&lt;/P&gt;&lt;P&gt;The line chart will display it in order of 1 -&amp;gt; 2, 5-&amp;gt;17, 3, 4 (So sort items 3 and 4 are placed as though they were in positions 18 and 19).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something I'm missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a side note, why can I not have a normalised 100% line graph?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 May 2015 07:03:54 GMT</pubDate>
    <dc:creator>AllanH</dc:creator>
    <dc:date>2015-05-26T07:03:54Z</dc:date>
    <item>
      <title>Custom Sort Order - Different order on a bar and line chart</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Custom-Sort-Order-Different-order-on-a-bar-and-line-chart/m-p/218741#M2475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; __visiHi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently using SAS VA 7.1 and have hit an odd issue with custom sorts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created a custom sort on a category in order to display a stacked chart in a specific order, grouping similar elements together and shading them using a report level display rule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both charts use the same roles, A date for the Category, a number of hours for the measure and a grouping which has my custom sort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My first graph is a stacked 100% bar chart.&amp;nbsp; The grouping display is perfect with the group order being as per my custom sort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is when I do a stacked line chart, the sort order isn't quite right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Group role has 17 distinct values, and I have it sorted in my desired order (and lets just reference that as values 1 -&amp;gt; 17)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bar chart will display it in order of 1 -&amp;gt; 17 (with sort item 1 being at the bottom of the stack and sort item 17 being at the top of the stack)&lt;/P&gt;&lt;P&gt;The line chart will display it in order of 1 -&amp;gt; 2, 5-&amp;gt;17, 3, 4 (So sort items 3 and 4 are placed as though they were in positions 18 and 19).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something I'm missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a side note, why can I not have a normalised 100% line graph?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 07:03:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Custom-Sort-Order-Different-order-on-a-bar-and-line-chart/m-p/218741#M2475</guid>
      <dc:creator>AllanH</dc:creator>
      <dc:date>2015-05-26T07:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Sort Order - Different order on a bar and line chart</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Custom-Sort-Order-Different-order-on-a-bar-and-line-chart/m-p/218742#M2476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did some playing around and I think I can see what it's doing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The graph spans a number of months.&amp;nbsp; Towards the early months in the graph, there are only 15/17 items that exist in the data that I am attempting to sort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Towards the final months in the graph (when the new items begin appearing) I then have 17/17 items, however rather than sorting it as expected, the 15 items that existed at the start are sorted, but the 2 new items just seem to be tossed in randomly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested it by scaling the graphs reporting range and when the first month includes the 2 new items, it sorts it correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts on how I could correct this aside from creating 17 dummy entries at the start to ensure my sort order is taken into consideration at the beginning?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 02:29:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Custom-Sort-Order-Different-order-on-a-bar-and-line-chart/m-p/218742#M2476</guid>
      <dc:creator>Allycat</dc:creator>
      <dc:date>2015-06-19T02:29:24Z</dc:date>
    </item>
  </channel>
</rss>

