<?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: Sorting within pivot tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-within-pivot-tables/m-p/900419#M1010837</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you add the expression to the products ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 May 2015 23:00:19 GMT</pubDate>
    <dc:creator>ramoncova06</dc:creator>
    <dc:date>2015-05-07T23:00:19Z</dc:date>
    <item>
      <title>Sorting within pivot tables</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-within-pivot-tables/m-p/900416#M1010834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a pivot table with the dimensions payer, product and month, where months are in columns. The expression is the total sales column. I want the payers to be sorted based on latest month's highest sales volume and within payers the products should be sorted based on the descending order of the sales for each product in latest month. I have used expression to sort the data&amp;nbsp; sum (if(monthdate=max(monthdate), sales). Could you please advise on how I should set up the sorting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 22:35:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-within-pivot-tables/m-p/900416#M1010834</guid>
      <dc:creator />
      <dc:date>2015-05-07T22:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting within pivot tables</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-within-pivot-tables/m-p/900417#M1010835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;under the sort section your first field has to be the month, then payer and then product &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can change your expression to the following &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;sum({&amp;lt; monthdate = {"$(=(max(monthdate))"}&amp;gt;}sales) (this is also faster than using if's)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 22:45:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-within-pivot-tables/m-p/900417#M1010835</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-05-07T22:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting within pivot tables</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-within-pivot-tables/m-p/900418#M1010836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Ramon!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used this expression and it is sorting the first dimension i.e. payer but is it not sorting products within each payer. I also want the products within each payer sorted in descending order.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 22:55:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-within-pivot-tables/m-p/900418#M1010836</guid>
      <dc:creator />
      <dc:date>2015-05-07T22:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting within pivot tables</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-within-pivot-tables/m-p/900419#M1010837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you add the expression to the products ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 23:00:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-within-pivot-tables/m-p/900419#M1010837</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-05-07T23:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting within pivot tables</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-within-pivot-tables/m-p/900420#M1010838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I tried that. I have also tried aggr(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;sum({&amp;lt; monthdate = {"$(=(max(monthdate))"}&amp;gt;}sales),payer). It is also not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 23:04:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-within-pivot-tables/m-p/900420#M1010838</guid>
      <dc:creator />
      <dc:date>2015-05-07T23:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting within pivot tables</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-within-pivot-tables/m-p/900421#M1010839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not in front of a computer right not but try by using a rank(expression)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 23:10:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-within-pivot-tables/m-p/900421#M1010839</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-05-07T23:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting within pivot tables</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-within-pivot-tables/m-p/900422#M1010840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not possible.&amp;nbsp; You cannot have 2nd (3rd, etc.) dimension to be sorted differently in each group. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 01:43:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-within-pivot-tables/m-p/900422#M1010840</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-08T01:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting within pivot tables</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-within-pivot-tables/m-p/900423#M1010841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create Straight table instead of pivot , This are faster in performance also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 03:50:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-within-pivot-tables/m-p/900423#M1010841</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2015-05-08T03:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting within pivot tables</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-within-pivot-tables/m-p/900424#M1010842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swatsaraora,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Take your measure expression and then put that expression in sort it in descending order&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and exclude&amp;nbsp; other options&lt;/P&gt;&lt;P&gt;example&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Year={"$(=Max(Year))"},Month=,Qtr=,Date=,Products=&amp;gt;}Amount )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 05:46:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-within-pivot-tables/m-p/900424#M1010842</guid>
      <dc:creator>sunilkumarqv</dc:creator>
      <dc:date>2015-05-08T05:46:29Z</dc:date>
    </item>
  </channel>
</rss>

