<?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 table sorting issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-table-sorting-issue/m-p/1204160#M874489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you upload a sample qvw if possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Nov 2016 17:43:38 GMT</pubDate>
    <dc:creator>MK9885</dc:creator>
    <dc:date>2016-11-02T17:43:38Z</dc:date>
    <item>
      <title>Pivot table sorting issue</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-sorting-issue/m-p/1204153#M874482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Qlik Developers&lt;/P&gt;&lt;P&gt;I have a straight table with 6 dimensions and 1 expression i.e sum(amount). i have sorted the dimension based on expression and the result is fine. I converted the straight table to pivot table and i don't see the sorting. I tried by using sort by expression like rank(aggr(expression,dimension)) but it's not working. Please find the attached image. Can someone help me to get the result in pivot table same like in straight table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-sorting-issue/m-p/1204153#M874482</guid>
      <dc:creator>dandaanilreddy</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table sorting issue</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-sorting-issue/m-p/1204154#M874483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried sorting by Y-value descending within your pivot table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/142653_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 02:41:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-sorting-issue/m-p/1204154#M874483</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-02T02:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table sorting issue</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-sorting-issue/m-p/1204155#M874484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like it's still sorted by Amount, just like in your straight table. If you want to see the $500 and $300 amounts you'll have to expand the Region "Southern CA." The Chicago region just doesn't have as high of values for Amount.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 12:23:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-sorting-issue/m-p/1204155#M874484</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-02T12:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table sorting issue</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-sorting-issue/m-p/1204156#M874485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, i Tried but it's not displaying the data in descending order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 16:42:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-sorting-issue/m-p/1204156#M874485</guid>
      <dc:creator>dandaanilreddy</dc:creator>
      <dc:date>2016-11-02T16:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table sorting issue</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-sorting-issue/m-p/1204157#M874486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you have Area, Region, Territory, and CFS Name as pivotable dimensions there would be no other option than to sort by those dimensions first, in order. It's only &lt;EM&gt;within&lt;/EM&gt; those dimensions that you can do further sorting. However, if you want to display, say, the Area with the highest Sum(Amount) before all of the other Area values, you can click "Promote" on Area under "Sort Priority" until it's at the top, and enter Sum(Amount) into the descending expression. Then you can promote Region to the second highest priority dimension. After sorting all of the dimensions you want in the order that you want, you can then sort by the unsummed Amount, which is what you have in your pivot table already. But note that the Area with the highest Sum(Amount) won't necessarily have the highest individual Amount, i.e. those values in the $500s and $300s might not occur in the Area or Region with the highest Sum(Amount).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 16:53:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-sorting-issue/m-p/1204157#M874486</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-02T16:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table sorting issue</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-sorting-issue/m-p/1204158#M874487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use your &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;rank(aggr(expression,dimension)) in Region, Area, Territory and CFS Name or whatever dimension you trying to sort and then Ascending.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I hope you'll get that value from highest to lowest.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;As you'll drill down from dim to dim the sorting will change and if you give &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;rank(aggr(expression,dimension)) for only Region then it will sort for Region but not others.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 17:36:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-sorting-issue/m-p/1204158#M874487</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2016-11-02T17:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table sorting issue</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-sorting-issue/m-p/1204159#M874488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply Arvind. I tried but no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 17:38:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-sorting-issue/m-p/1204159#M874488</guid>
      <dc:creator>dandaanilreddy</dc:creator>
      <dc:date>2016-11-02T17:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table sorting issue</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-sorting-issue/m-p/1204160#M874489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you upload a sample qvw if possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 17:43:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-sorting-issue/m-p/1204160#M874489</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2016-11-02T17:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table sorting issue</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-sorting-issue/m-p/1204161#M874490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Arvind&lt;/P&gt;&lt;P&gt;I have attached the sample data on the main discussion.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 17:55:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-sorting-issue/m-p/1204161#M874490</guid>
      <dc:creator>dandaanilreddy</dc:creator>
      <dc:date>2016-11-02T17:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table sorting issue</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-sorting-issue/m-p/1204162#M874491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG __jive_id="142731" alt="line.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/142731_line.png" style="height: 344px; width: 620px;" /&gt;Thanks&lt;BR /&gt;You want highest to lowest Sum(Amount) value for all dimensions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 18:14:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-sorting-issue/m-p/1204162#M874491</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2016-11-02T18:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table sorting issue</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-sorting-issue/m-p/1204163#M874492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Arvind. It's working.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 20:14:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-sorting-issue/m-p/1204163#M874492</guid>
      <dc:creator>dandaanilreddy</dc:creator>
      <dc:date>2016-11-02T20:14:02Z</dc:date>
    </item>
  </channel>
</rss>

