<?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 Qlikview Stacked sort not working. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Qlikview-Stacked-sort-not-working/m-p/951663#M980287</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on a stacked chart with only 2 expressions resulting in a total volume based on a certain business type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i try sorting from highest to lowest in the stacked chart using Y value, it takes one of the business type and not the other &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i use the sort by expression , where i am summing up both the business types and i still get certain values not showing up correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one explain a proper way to do the sorting ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am attaching the 2 pictures&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the sort by expression , this is my expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;v_Volume_in_Litres,Month=,MonthYear={'$(v_MaxMonthYear_1)'},Year=,[Account Business Cust Type]={'CPT'}&amp;gt;}[PYTHON Value]) + sum({$&amp;lt;v_Volume_in_Litres,Month=,MonthYear={'$(v_MaxMonthYear_1)'},Year=,[Account Business Cust Type]={'FLAT'},[Transaction Product Group]={'Fuel'}&amp;gt;}[&lt;SPAN style="font-size: 13.3333330154419px;"&gt;PYTHON&lt;/SPAN&gt; Value])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sort by expression.PNG" class="jive-image image-1" src="/legacyfs/online/96376_Sort by expression.PNG" style="height: 224px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Aug 2015 07:45:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-08-19T07:45:02Z</dc:date>
    <item>
      <title>Qlikview Stacked sort not working.</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Stacked-sort-not-working/m-p/951663#M980287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on a stacked chart with only 2 expressions resulting in a total volume based on a certain business type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i try sorting from highest to lowest in the stacked chart using Y value, it takes one of the business type and not the other &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i use the sort by expression , where i am summing up both the business types and i still get certain values not showing up correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one explain a proper way to do the sorting ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am attaching the 2 pictures&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the sort by expression , this is my expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;v_Volume_in_Litres,Month=,MonthYear={'$(v_MaxMonthYear_1)'},Year=,[Account Business Cust Type]={'CPT'}&amp;gt;}[PYTHON Value]) + sum({$&amp;lt;v_Volume_in_Litres,Month=,MonthYear={'$(v_MaxMonthYear_1)'},Year=,[Account Business Cust Type]={'FLAT'},[Transaction Product Group]={'Fuel'}&amp;gt;}[&lt;SPAN style="font-size: 13.3333330154419px;"&gt;PYTHON&lt;/SPAN&gt; Value])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sort by expression.PNG" class="jive-image image-1" src="/legacyfs/online/96376_Sort by expression.PNG" style="height: 224px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 07:45:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Stacked-sort-not-working/m-p/951663#M980287</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-19T07:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview Stacked sort not working.</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Stacked-sort-not-working/m-p/951664#M980288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Krishna, Please post sample qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 15:51:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Stacked-sort-not-working/m-p/951664#M980288</guid>
      <dc:creator />
      <dc:date>2015-08-19T15:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview Stacked sort not working.</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Stacked-sort-not-working/m-p/951665#M980289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're using the same expression in expression and sort tab (identical set analysis), t&lt;SPAN style="font-size: 13.3333330154419px;"&gt;hat's the right way to do the sorting by expression. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;If that's not the problem, please post a sample.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 17:08:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Stacked-sort-not-working/m-p/951665#M980289</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-19T17:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Qlikview Stacked sort not working.</title>
      <link>https://community.qlik.com/t5/QlikView/Qlikview-Stacked-sort-not-working/m-p/951666#M980291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fernando ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes i am using the same expression in both places , just that in sort expression ,&amp;nbsp; i sum both the expressions (FLAT, CPT) and try sorting as total&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for a change , i tried with rangesum , aggr but all of them give the same result with minor variation as highlighted in yellow in the picture.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 21:25:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Qlikview-Stacked-sort-not-working/m-p/951666#M980291</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-19T21:25:33Z</dc:date>
    </item>
  </channel>
</rss>

