<?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 Need help in pivot table sort in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-in-pivot-table-sort/m-p/228749#M80753</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Milda,&lt;/P&gt;&lt;P&gt;if you give me your mail id i would send the qvw doc. Here the upload files is not working.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raghu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Feb 2010 16:12:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-02-17T16:12:11Z</dc:date>
    <item>
      <title>Need help in pivot table sort</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-pivot-table-sort/m-p/228742#M80746</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;I am using the rank function in the dimension to show the Top 10 destinations by minutes. 2 dimensions i have given week and destination. expression is simple sum(Minutes).&lt;/P&gt;&lt;P&gt;Please look at the attached image. But it is not sorted properly. I didn't mention anything in the Sort tab. Should i have to give any expression in the Sort tab.&lt;/P&gt;&lt;P&gt;=if(aggr(rank(sum(Int_Mins)),zone_country_name)&amp;lt;=10,zone_country_name). This is the dimension&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raghu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 07:20:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-pivot-table-sort/m-p/228742#M80746</guid>
      <dc:creator />
      <dc:date>2010-02-02T07:20:30Z</dc:date>
    </item>
    <item>
      <title>Need help in pivot table sort</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-pivot-table-sort/m-p/228743#M80747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raghu,&lt;/P&gt;&lt;P&gt;try to add additional calculated dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(&lt;BR /&gt; aggr(&lt;BR /&gt; rank(total aggr( sum(Mins),Country),0,1)&lt;BR /&gt; ,Country)&lt;BR /&gt;&amp;lt;=10,&lt;BR /&gt; aggr(&lt;BR /&gt; rank(total aggr( sum(Mins),Country),0,1)&lt;BR /&gt; ,Country)&lt;BR /&gt;)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;In this case you woun't need to write anything in Sort tab.&lt;/P&gt;&lt;P&gt;I've attached QW application, as an example.&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Milda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 14:13:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-pivot-table-sort/m-p/228743#M80747</guid>
      <dc:creator />
      <dc:date>2010-02-02T14:13:47Z</dc:date>
    </item>
    <item>
      <title>Need help in pivot table sort</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-pivot-table-sort/m-p/228744#M80748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Milda,&lt;/P&gt;&lt;P&gt;Thank you very much. Now i am getting the correct sort order.&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;-Raghu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 14:56:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-pivot-table-sort/m-p/228744#M80748</guid>
      <dc:creator />
      <dc:date>2010-02-02T14:56:04Z</dc:date>
    </item>
    <item>
      <title>Need help in pivot table sort</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-pivot-table-sort/m-p/228745#M80749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need a small help from you guys. Look at the attached image. Here i used the below expression to show the top 5 destinations in the line graph. Its fine. In that i need to show the Total minutes too in the graph. If i add an expression like =Sum(Total Mins) then graph not showing what i expected.&lt;/P&gt;&lt;P&gt;IF(&lt;BR /&gt; aggr(&lt;BR /&gt; rank(total aggr( sum(Mins),Country),0,1)&lt;BR /&gt; ,Country)&lt;BR /&gt;&amp;lt;=10,&lt;BR /&gt; aggr(&lt;BR /&gt; rank(total aggr( sum(Mins),Country),0,1)&lt;BR /&gt; ,Country)&lt;BR /&gt;)&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2010 08:15:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-pivot-table-sort/m-p/228745#M80749</guid>
      <dc:creator />
      <dc:date>2010-02-16T08:15:44Z</dc:date>
    </item>
    <item>
      <title>Need help in pivot table sort</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-pivot-table-sort/m-p/228746#M80750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Milda,&lt;/P&gt;&lt;P&gt;The upload files is not working so didn't upload the sample qvw file. The below expression is fine but i want to select the country based on last date or last week. How i can add a date in the below expression to get the country.&lt;/P&gt;&lt;P&gt;IF(&lt;BR /&gt; aggr(&lt;BR /&gt; rank(total aggr( sum(Mins),Country),0,1)&lt;BR /&gt; ,Country)&lt;BR /&gt;&amp;lt;=10,&lt;BR /&gt; aggr(&lt;BR /&gt; rank(total aggr( sum(Mins),Country),0,1)&lt;BR /&gt; ,Country)&lt;/P&gt;&lt;P&gt;any one please help me to solve this&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raghu.&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 14:09:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-pivot-table-sort/m-p/228746#M80750</guid>
      <dc:creator />
      <dc:date>2010-02-17T14:09:06Z</dc:date>
    </item>
    <item>
      <title>Need help in pivot table sort</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-pivot-table-sort/m-p/228747#M80751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at the attached qvw document by milda "Top 10 - in pivot.qvw". look at "Top 10" pivot table. In that, country is not sorted based on 45 th week. The country is sorted from week 40 to week 45. I want to sort based on the latest week records.&lt;/P&gt;&lt;P&gt;How can i do achieve this&lt;/P&gt;&lt;P&gt;-Raghu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 14:16:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-pivot-table-sort/m-p/228747#M80751</guid>
      <dc:creator />
      <dc:date>2010-02-17T14:16:16Z</dc:date>
    </item>
    <item>
      <title>Need help in pivot table sort</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-pivot-table-sort/m-p/228748#M80752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raghu,&lt;/P&gt;&lt;P&gt;you should try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;IF(&lt;BR /&gt;aggr(&lt;BR /&gt;rank(total&lt;BR /&gt;aggr( sum({$&amp;lt;Week={'wk 45'}&amp;gt;} Mins),Country)&lt;BR /&gt;,0,1)&lt;BR /&gt;,Country)&lt;BR /&gt;&amp;lt;=10,&lt;BR /&gt;aggr(&lt;BR /&gt;rank(total&lt;BR /&gt;aggr( sum({$&amp;lt;Week={'wk 45'}&amp;gt;} Mins),Country)&lt;BR /&gt;,0,1)&lt;BR /&gt;,Country))&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Milda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 15:36:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-pivot-table-sort/m-p/228748#M80752</guid>
      <dc:creator />
      <dc:date>2010-02-17T15:36:47Z</dc:date>
    </item>
    <item>
      <title>Need help in pivot table sort</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-pivot-table-sort/m-p/228749#M80753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Milda,&lt;/P&gt;&lt;P&gt;if you give me your mail id i would send the qvw doc. Here the upload files is not working.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raghu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 16:12:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-pivot-table-sort/m-p/228749#M80753</guid>
      <dc:creator />
      <dc:date>2010-02-17T16:12:11Z</dc:date>
    </item>
    <item>
      <title>Need help in pivot table sort</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-pivot-table-sort/m-p/228750#M80754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Milda,&lt;/P&gt;&lt;P&gt;Finally i solved my errors. Your expressions helped me to solve my solution.&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;-Raghu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 17:18:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-pivot-table-sort/m-p/228750#M80754</guid>
      <dc:creator />
      <dc:date>2010-02-17T17:18:33Z</dc:date>
    </item>
    <item>
      <title>Need help in pivot table sort</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-pivot-table-sort/m-p/228751#M80755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm glad I could help you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;PS.: So I guess you don't need my email address anymore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 07:46:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-pivot-table-sort/m-p/228751#M80755</guid>
      <dc:creator />
      <dc:date>2010-02-18T07:46:16Z</dc:date>
    </item>
    <item>
      <title>Need help in pivot table sort</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-pivot-table-sort/m-p/228752#M80756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, can anyone help me. In the top10.jpg I want to show the total of all destinations for the respective week. Currently what happened was the total is showing only for the Top10 destinations, not for all destinations. Use the top 10 - in Pivot table.qvw document. Thanks, Raghu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 12:42:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-pivot-table-sort/m-p/228752#M80756</guid>
      <dc:creator />
      <dc:date>2010-04-22T12:42:21Z</dc:date>
    </item>
  </channel>
</rss>

