<?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: Pivot Chart(3 dim + 1 Exp)- issue in sorting by expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Chart-3-dim-1-Exp-issue-in-sorting-by-expression/m-p/817101#M1046300</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Sort &amp;gt; Region use instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(TOTAL &amp;lt;Region&amp;gt; Val)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will return:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qcomPivotSortTOTAL.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/72694_qcomPivotSortTOTAL.PNG.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Dec 2014 07:42:08 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2014-12-04T07:42:08Z</dc:date>
    <item>
      <title>Pivot Chart(3 dim + 1 Exp)- issue in sorting by expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Chart-3-dim-1-Exp-issue-in-sorting-by-expression/m-p/817100#M1046299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This issue is really seems to be an ache &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have three dimensions - T_Date Region Currency across whcih need to do the calculation as sum(Val) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sorting manner required is as follows: first sort on T_Date (Descending) -&amp;gt; sort on sum(Val) Descending order.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Pic1.jpg" class="jive-image" height="252" src="https://community.qlik.com/legacyfs/online/72056_Pic1.jpg" style="height: 252px; width: 311.72727272727275px;" width="312" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date is getting sorted but the &lt;STRONG&gt;Net value is not getting sorted in Descending&lt;/STRONG&gt; order, kindly help .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried below options but no luck :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;in sort-&amp;gt; t_Date -&amp;gt; text (Z-&amp;gt; A)&lt;/LI&gt;&lt;LI&gt;Region -&amp;gt; exprerssion -&amp;gt; aggr(sum(Val),T_Date) -&amp;gt;Descending&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching the Qvw file and the source as well. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 12:52:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Chart-3-dim-1-Exp-issue-in-sorting-by-expression/m-p/817100#M1046299</guid>
      <dc:creator>gargi_bardhan</dc:creator>
      <dc:date>2014-11-25T12:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Chart(3 dim + 1 Exp)- issue in sorting by expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Chart-3-dim-1-Exp-issue-in-sorting-by-expression/m-p/817101#M1046300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Sort &amp;gt; Region use instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(TOTAL &amp;lt;Region&amp;gt; Val)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will return:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qcomPivotSortTOTAL.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/72694_qcomPivotSortTOTAL.PNG.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2014 07:42:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Chart-3-dim-1-Exp-issue-in-sorting-by-expression/m-p/817101#M1046300</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2014-12-04T07:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Chart(3 dim + 1 Exp)- issue in sorting by expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Chart-3-dim-1-Exp-issue-in-sorting-by-expression/m-p/817102#M1046301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Miguel for your quick response and your time,really appreciate you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The rquirement is :-&lt;/P&gt;&lt;P&gt;1) the date to be sorted in Descending order - so it should be 12/20/2014 - 11/15/2014 &lt;/P&gt;&lt;P&gt;2) Net value -&amp;gt;in Descending order ,here too its failing as you can see in&amp;nbsp; -&amp;gt; 11/15/2014-&amp;gt; X-&amp;gt; Net value not getting sorted in Descending order.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="testsort001.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/72708_testsort001.png" /&gt;&lt;/P&gt;&lt;P&gt;I tried many ways out as well spoke to many Qlikview experts but no solution, is it not possible in Pivot to sort by Expression ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gargi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2014 08:03:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Chart-3-dim-1-Exp-issue-in-sorting-by-expression/m-p/817102#M1046301</guid>
      <dc:creator>gargi_bardhan</dc:creator>
      <dc:date>2014-12-04T08:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Pivot Chart(3 dim + 1 Exp)- issue in sorting by expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Chart-3-dim-1-Exp-issue-in-sorting-by-expression/m-p/817103#M1046302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pivot is not sort-friendly. I have tried an alternate with Dual() in calculated dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check attached sample. Hope this helps you with an idea.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2014 08:30:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Chart-3-dim-1-Exp-issue-in-sorting-by-expression/m-p/817103#M1046302</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-12-04T08:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Pivot Chart(3 dim + 1 Exp)- issue in sorting by expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Chart-3-dim-1-Exp-issue-in-sorting-by-expression/m-p/817104#M1046303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check attached (using QlikView 11.20 SR9):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qcomPivotSortTOTAL.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/72718_qcomPivotSortTOTAL.PNG.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2014 08:41:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Chart-3-dim-1-Exp-issue-in-sorting-by-expression/m-p/817104#M1046303</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2014-12-04T08:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Pivot Chart(3 dim + 1 Exp)- issue in sorting by expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Chart-3-dim-1-Exp-issue-in-sorting-by-expression/m-p/817105#M1046304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Miguel for the solution its working fine on this ,but breaking on more than 2 dates , for more simpler explaination I have changed to year-Month . When it is collapsed it should be sorted on Dim- Year Month(Descending) ,but when Yesr-Month Dim is expanded the sorting should be done on expression(Descending)which is not happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot_1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/72725_Screenshot_1.png" /&gt;&lt;/P&gt;&lt;P&gt;The date is not getting sorted in descending order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Tresco ,&lt;/P&gt;&lt;P&gt;Thanks to you for your solution but it too breaking at the same ,more than two dates its failing. So can you look around with more set of records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attaching the updated Qvw file with more records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gargi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2014 10:13:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Chart-3-dim-1-Exp-issue-in-sorting-by-expression/m-p/817105#M1046304</guid>
      <dc:creator>gargi_bardhan</dc:creator>
      <dc:date>2014-12-04T10:13:29Z</dc:date>
    </item>
  </channel>
</rss>

