<?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 Sorting in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Sorting/m-p/1355736#M416135</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrea,&lt;/P&gt;&lt;P&gt;Have you tried sorting Category by the expression sum(Amount) Ascending?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Jul 2017 09:12:55 GMT</pubDate>
    <dc:creator>effinty2112</dc:creator>
    <dc:date>2017-07-24T09:12:55Z</dc:date>
    <item>
      <title>Pivot Sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Sorting/m-p/1355730#M416129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi at all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this situation,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Pivot Table with three dimension: Month, Category, Product Name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to sort the Pivot in two way at the same time:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First sort by month (and I can do it), the second one by Category. This last generated an issue, in fact, as in the picture bleow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/171083_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For "gennaio" everything is ok, but for "febbraio" Cat_2 is below Cat_3 and Cat_4 and this is not correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Correct order should be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cat_2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 73&lt;/P&gt;&lt;P&gt;Cat_4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 67&lt;/P&gt;&lt;P&gt;Cat_3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 33&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone can help me with this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thank in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Jul 2017 11:59:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Sorting/m-p/1355730#M416129</guid>
      <dc:creator>andrea90casa</dc:creator>
      <dc:date>2017-07-22T11:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Sorting/m-p/1355731#M416130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrea,&lt;/P&gt;&lt;P&gt;In the sort tab of the pivot table sort the &lt;EM&gt;Category&lt;/EM&gt; dimension by this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Match(Category,'Cat_2', 'Cat_4','Cat_3')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Jul 2017 09:50:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Sorting/m-p/1355731#M416130</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-07-23T09:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Sorting/m-p/1355732#M416131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if there is a situation with a lot of category and for twelve months how can I create a dynamic sorting. Is there the possibility to do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Jul 2017 10:42:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Sorting/m-p/1355732#M416131</guid>
      <dc:creator>andrea90casa</dc:creator>
      <dc:date>2017-07-23T10:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Sorting/m-p/1355733#M416132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your example does not appear to fit your request:&lt;/P&gt;&lt;P&gt;* If you want to sort by Category as you stated, the correct order would be Cat_1, Cat_2, Cat_3. This is trivial to accomplish - simply sort Category by A-&amp;gt;Z.&lt;/P&gt;&lt;P&gt;* If you want to sort by Y-value - Sum(Amount) - based on the Category dimension, this gets pretty tricky. Have a look at this document which covers the way to achieve Y-value sorting by multiple dimensions in a pivot table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-7220"&gt;Perfectly Sorting Pivot Table (by A-Z. y-Value set for each dim-level)&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Jul 2017 12:25:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Sorting/m-p/1355733#M416132</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2017-07-23T12:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Sorting/m-p/1355734#M416133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shoham&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to order the category for sum(amount) but inside each month. Now it is like it is order by sum(amount) but without considering the first dimension (month).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try to look at that document. Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Jul 2017 12:32:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Sorting/m-p/1355734#M416133</guid>
      <dc:creator>andrea90casa</dc:creator>
      <dc:date>2017-07-23T12:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Sorting/m-p/1355735#M416134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andrea,&lt;/P&gt;&lt;P&gt;I totally misread your request and told you a lot of rubbish! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/blush.png" /&gt;&lt;/P&gt;&lt;P&gt;I going to have a cup of coffee then I may be of help.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 09:07:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Sorting/m-p/1355735#M416134</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-07-24T09:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Sorting/m-p/1355736#M416135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrea,&lt;/P&gt;&lt;P&gt;Have you tried sorting Category by the expression sum(Amount) Ascending?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 09:12:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Sorting/m-p/1355736#M416135</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-07-24T09:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Sorting/m-p/1355737#M416136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is when I try to order by sum(amount) because qlik don't consider the only category in each month but any category.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So the correct step shuould be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Order Month by name,&lt;/P&gt;&lt;P&gt;2) In each months consider only the category inside&lt;/P&gt;&lt;P&gt;3) Sorting those categories by sum(amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But Qlik doesn't do the second step because it's considers the entire set of categories.&lt;/P&gt;&lt;P&gt;So if I order category by sum(amount) the problem remains.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 10:49:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Sorting/m-p/1355737#M416136</guid>
      <dc:creator>andrea90casa</dc:creator>
      <dc:date>2017-07-24T10:49:32Z</dc:date>
    </item>
  </channel>
</rss>

