<?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 Multi Dimensional Sort in Pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multi-Dimensional-Sort-in-Pivot-Table/m-p/148488#M26770</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phil,&lt;BR /&gt;(And welcome back &lt;IMG alt="Big Smile" src="http://community.qlik.com/emoticons/emotion-2.gif" /&gt;)&lt;BR /&gt;Would you mind to post your solution on Wiki or "Share"? I posted "dynamic sorting in pivot tables"&lt;BR /&gt; recently, and your solution is on the similar topic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jul 2009 23:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-07-06T23:16:04Z</dc:date>
    <item>
      <title>Multi Dimensional Sort in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Dimensional-Sort-in-Pivot-Table/m-p/148485#M26767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to implement a multi-dimension sort order in a Pivot Table. I am trying to come up with a way to sort the top first dimension values, and within those values, sort the second dimension values. In real world terms, I have an example with States, Cars, and the number of Registrations of those cars in each State. For example, I have 20 Toyotas registered in CT, and that is the most of any car brand in that State. In NY, however, the most popular car is Chevy, so that should be first. Depending on which method I try to use, I get different results, but no method works for each row.&lt;/P&gt;&lt;P&gt;I can get a Pivot Table to sort very nicely if the data is in a true hierarchy. Unfortunately, this is not the case with the data I need to display.&lt;/P&gt;&lt;P&gt;Thanks for any suggestions.&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 06:20:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Dimensional-Sort-in-Pivot-Table/m-p/148485#M26767</guid>
      <dc:creator />
      <dc:date>2009-07-06T06:20:36Z</dc:date>
    </item>
    <item>
      <title>Multi Dimensional Sort in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Dimensional-Sort-in-Pivot-Table/m-p/148486#M26768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phil,&lt;/P&gt;&lt;P&gt;The problem is that the Pivot table sorts by the total values. If you pivot your state to be horizontal and add partial sums, you can see the "correct" sort order of TOYOTA, CHEVY, DODGE, VW, MAXDA, BMW (should be MAZDA???).&lt;/P&gt;&lt;P&gt;Your attempt to use aggr is no use because it will not evaluate at the total level that QlikView is using - you will see the same sort if you remove the expression option altogether.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 17:37:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Dimensional-Sort-in-Pivot-Table/m-p/148486#M26768</guid>
      <dc:creator>stephencredmond</dc:creator>
      <dc:date>2009-07-06T17:37:42Z</dc:date>
    </item>
    <item>
      <title>Multi Dimensional Sort in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Dimensional-Sort-in-Pivot-Table/m-p/148487#M26769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I discovered the solution to my problem.&lt;/P&gt;&lt;P&gt;For the first dimension, use Sort by Y Value. The second dimension, I just used the default order for that field/group.&lt;/P&gt;&lt;P&gt;The trick is that you MUST Show Partial Sums against the second dimension. This will create and keep the order of the first dimension in tact, regardless of Expand/Collapse state. You can even allow Pivoting as long as you Show Partial Sums against the first dimension as well.&lt;/P&gt;&lt;P&gt;Thanks to all we looked at this.&lt;/P&gt;&lt;P&gt;Phil Bishop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 22:19:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Dimensional-Sort-in-Pivot-Table/m-p/148487#M26769</guid>
      <dc:creator />
      <dc:date>2009-07-06T22:19:57Z</dc:date>
    </item>
    <item>
      <title>Multi Dimensional Sort in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Dimensional-Sort-in-Pivot-Table/m-p/148488#M26770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phil,&lt;BR /&gt;(And welcome back &lt;IMG alt="Big Smile" src="http://community.qlik.com/emoticons/emotion-2.gif" /&gt;)&lt;BR /&gt;Would you mind to post your solution on Wiki or "Share"? I posted "dynamic sorting in pivot tables"&lt;BR /&gt; recently, and your solution is on the similar topic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2009 23:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Dimensional-Sort-in-Pivot-Table/m-p/148488#M26770</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-06T23:16:04Z</dc:date>
    </item>
  </channel>
</rss>

