<?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 Sort Stacked Chart by Y and 2nd Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sort-Stacked-Chart-by-Y-and-2nd-Dimension/m-p/1000757#M527775</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been asked to create a stacked chart to sort by Grand Total and then in each bar to sort the values from High to Low.&amp;nbsp; When it displays all of the choices it doesn't sort High to Low for each bar but if I click on just one Location then it sorts properly, just not when all data is displayed.&amp;nbsp; I saw some examples show aggr but when I tried that with my data still no luck...&amp;nbsp; I've attached a sample file.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="All Data-Not Sorted Properly.JPG" class="jive-image image-1" src="/legacyfs/online/99655_All Data-Not Sorted Properly.JPG" style="height: 354px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Notice Location 7 along with others are not sorted High to Low&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Filter 1 Location-Sorts Properly.JPG" class="jive-image image-2" src="/legacyfs/online/99689_Filter 1 Location-Sorts Properly.JPG" style="height: 354px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;But if I click just on Location 7 then it does sort the data properly...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Sep 2015 14:20:18 GMT</pubDate>
    <dc:creator>patbuchanan</dc:creator>
    <dc:date>2015-09-22T14:20:18Z</dc:date>
    <item>
      <title>Sort Stacked Chart by Y and 2nd Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Stacked-Chart-by-Y-and-2nd-Dimension/m-p/1000757#M527775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been asked to create a stacked chart to sort by Grand Total and then in each bar to sort the values from High to Low.&amp;nbsp; When it displays all of the choices it doesn't sort High to Low for each bar but if I click on just one Location then it sorts properly, just not when all data is displayed.&amp;nbsp; I saw some examples show aggr but when I tried that with my data still no luck...&amp;nbsp; I've attached a sample file.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="All Data-Not Sorted Properly.JPG" class="jive-image image-1" src="/legacyfs/online/99655_All Data-Not Sorted Properly.JPG" style="height: 354px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Notice Location 7 along with others are not sorted High to Low&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Filter 1 Location-Sorts Properly.JPG" class="jive-image image-2" src="/legacyfs/online/99689_Filter 1 Location-Sorts Properly.JPG" style="height: 354px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;But if I click just on Location 7 then it does sort the data properly...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 14:20:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Stacked-Chart-by-Y-and-2nd-Dimension/m-p/1000757#M527775</guid>
      <dc:creator>patbuchanan</dc:creator>
      <dc:date>2015-09-22T14:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Stacked Chart by Y and 2nd Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Stacked-Chart-by-Y-and-2nd-Dimension/m-p/1000758#M527776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please change your sort columns to the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="image15.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/99724_image15.png" style="height: 333px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally, I noticed that your expression doesn't have any kind of aggregation around it sum(), avg() etc. Please use either the sum or only function to get your KPI's...If you have more than one value per Location GRBS combination Qlikview won't know what to do with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached for more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Camile&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 19:55:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Stacked-Chart-by-Y-and-2nd-Dimension/m-p/1000758#M527776</guid>
      <dc:creator>cjohnson</dc:creator>
      <dc:date>2015-09-22T19:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Stacked Chart by Y and 2nd Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Stacked-Chart-by-Y-and-2nd-Dimension/m-p/1000759#M527777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;like this? see attachment&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/99728_1.png" style="height: 306px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 20:19:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Stacked-Chart-by-Y-and-2nd-Dimension/m-p/1000759#M527777</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-09-22T20:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Stacked Chart by Y and 2nd Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Stacked-Chart-by-Y-and-2nd-Dimension/m-p/1000760#M527778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried that but still doesn't sort properly as a whole.&amp;nbsp; Below is an image of your option.&amp;nbsp; They want me to sort each Location from High to Low by sum of Total field.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="All Data-Not Sorted Properly2.JPG" class="jive-image image-1" src="/legacyfs/online/99726_All Data-Not Sorted Properly2.JPG" style="height: 299px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 20:20:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Stacked-Chart-by-Y-and-2nd-Dimension/m-p/1000760#M527778</guid>
      <dc:creator>patbuchanan</dc:creator>
      <dc:date>2015-09-22T20:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Stacked Chart by Y and 2nd Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Stacked-Chart-by-Y-and-2nd-Dimension/m-p/1000761#M527779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the following sort Option&lt;/P&gt;&lt;P&gt;but the last two Locations are not quite correct&lt;/P&gt;&lt;P&gt;by the way: as you see there is a red line after max(Total)&lt;/P&gt;&lt;P&gt;I renamed Total to Total1 in your script and the red line was gone&lt;/P&gt;&lt;P&gt;Total is a reserved word, so try to avoid These reserved words&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/99718_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/99731_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 20:24:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Stacked-Chart-by-Y-and-2nd-Dimension/m-p/1000761#M527779</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-22T20:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Stacked Chart by Y and 2nd Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Stacked-Chart-by-Y-and-2nd-Dimension/m-p/1000762#M527780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is pretty close but the legend on each bar uses different colors and list the items in the legend many times with the different colors.&amp;nbsp; Looks like I need to use this along with some color formatting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 20:24:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Stacked-Chart-by-Y-and-2nd-Dimension/m-p/1000762#M527780</guid>
      <dc:creator>patbuchanan</dc:creator>
      <dc:date>2015-09-22T20:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Stacked Chart by Y and 2nd Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Stacked-Chart-by-Y-and-2nd-Dimension/m-p/1000763#M527781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe one solution could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_181828_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/99741_QlikCommunity_Thread_181828_Pic1.JPG" style="height: 356px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_181828_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/99742_QlikCommunity_Thread_181828_Pic2.JPG" style="height: 388px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_181828_Pic3.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/99743_QlikCommunity_Thread_181828_Pic3.JPG" style="height: 208px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_181828_Pic5.JPG" class="image-5 jive-image" src="https://community.qlik.com/legacyfs/online/99745_QlikCommunity_Thread_181828_Pic5.JPG" style="height: 200px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_181828_Pic4.JPG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/99744_QlikCommunity_Thread_181828_Pic4.JPG" style="height: 507px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_181828_Pic6.JPG" class="jive-image image-6" src="https://community.qlik.com/legacyfs/online/99746_QlikCommunity_Thread_181828_Pic6.JPG" style="height: 436px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 22:13:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Stacked-Chart-by-Y-and-2nd-Dimension/m-p/1000763#M527781</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-09-22T22:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Stacked Chart by Y and 2nd Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Stacked-Chart-by-Y-and-2nd-Dimension/m-p/1000764#M527782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot this appears to do the trick. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 02:54:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Stacked-Chart-by-Y-and-2nd-Dimension/m-p/1000764#M527782</guid>
      <dc:creator>patbuchanan</dc:creator>
      <dc:date>2015-09-23T02:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Stacked Chart by Y and 2nd Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Stacked-Chart-by-Y-and-2nd-Dimension/m-p/1000765#M527783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The palette of colors is limited, in this case if we have more than 50 GRBS ! the colors is repeated so there is a way to stretch so as to have a plenty of colors?&lt;/P&gt;&lt;P&gt;Your help is very appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2016 15:27:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Stacked-Chart-by-Y-and-2nd-Dimension/m-p/1000765#M527783</guid>
      <dc:creator />
      <dc:date>2016-02-23T15:27:47Z</dc:date>
    </item>
  </channel>
</rss>

