<?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 a pivot table with 2 dimensions in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sorting-a-pivot-table-with-2-dimensions/m-p/1531624#M38286</link>
    <description>&lt;P&gt;Since the same salesman are in different Product ID, how would you want to sort them? Based on there value within a Product ID?&lt;/P&gt;</description>
    <pubDate>Thu, 17 Jan 2019 14:37:22 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-01-17T14:37:22Z</dc:date>
    <item>
      <title>Sorting a pivot table with 2 dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-a-pivot-table-with-2-dimensions/m-p/1531603#M38281</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I have created a pivot table with two dimensions ProductID, Salesman and a measure Sum(Sales)&lt;/P&gt;&lt;P&gt;now the issue I am seeing in Qlik Sense pivot table is the values are not sorted correctly, I was trying the sortable aggr but&lt;/P&gt;&lt;P&gt;couldn't get to the point, can any one give the correct syntax where the Sum(Sales) can also be sorted in asc/desc when&lt;/P&gt;&lt;P&gt;the table in full expanded view. see below the issue in red also attaching a qvf file.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sorting issue.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3950i1D55618A0591785B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Sorting issue.png" alt="Sorting issue.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 14:33:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-a-pivot-table-with-2-dimensions/m-p/1531603#M38281</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2019-01-17T14:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting a pivot table with 2 dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-a-pivot-table-with-2-dimensions/m-p/1531610#M38282</link>
      <description>I'm not sure if you will be able to sort it based on expression. Usually you can only sort by dimensions</description>
      <pubDate>Thu, 17 Jan 2019 14:08:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-a-pivot-table-with-2-dimensions/m-p/1531610#M38282</guid>
      <dc:creator>vvira1316</dc:creator>
      <dc:date>2019-01-17T14:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting a pivot table with 2 dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-a-pivot-table-with-2-dimensions/m-p/1531613#M38283</link>
      <description>Hi,&lt;BR /&gt;In QlikView we used to do with Y value option but in Qlik Sense by expression is the only option I guess but I am not even trying those options I am trying to do in the measure itself by writing an aggr with sortable things some like below...&lt;BR /&gt;&lt;BR /&gt;aggr(sum(Sales), ([Product ID],(Salesman),(NUMERIC, DESC)))&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Jan 2019 14:15:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-a-pivot-table-with-2-dimensions/m-p/1531613#M38283</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2019-01-17T14:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting a pivot table with 2 dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-a-pivot-table-with-2-dimensions/m-p/1531624#M38286</link>
      <description>&lt;P&gt;Since the same salesman are in different Product ID, how would you want to sort them? Based on there value within a Product ID?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 14:37:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-a-pivot-table-with-2-dimensions/m-p/1531624#M38286</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-17T14:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting a pivot table with 2 dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-a-pivot-table-with-2-dimensions/m-p/1531627#M38288</link>
      <description>Yes Sunny Salesman with in each Product ID based on their sales values</description>
      <pubDate>Thu, 17 Jan 2019 14:40:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-a-pivot-table-with-2-dimensions/m-p/1531627#M38288</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2019-01-17T14:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting a pivot table with 2 dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-a-pivot-table-with-2-dimensions/m-p/1531645#M38294</link>
      <description>&lt;P&gt;Check this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3957i0B7FD620D93879CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;PRE&gt;=Dual(Salesman&amp;amp;Aggr(NODISTINCT Repeat(' ', Rank([Product ID])), [Product ID]), -Aggr(Sum(Sales), [Product ID], Salesman))&lt;/PRE&gt;</description>
      <pubDate>Thu, 17 Jan 2019 15:18:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-a-pivot-table-with-2-dimensions/m-p/1531645#M38294</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-17T15:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting a pivot table with 2 dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-a-pivot-table-with-2-dimensions/m-p/1531655#M38297</link>
      <description>&lt;P&gt;Thanks Sunny for the solution&lt;/P&gt;&lt;P&gt;I think I can't go with this as my chart contains 6 dimensions, some of them are Rows and some of them are columns&lt;/P&gt;&lt;P&gt;Aggr might screw up performance.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 15:41:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-a-pivot-table-with-2-dimensions/m-p/1531655#M38297</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2019-01-17T15:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting a pivot table with 2 dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-a-pivot-table-with-2-dimensions/m-p/1531658#M38299</link>
      <description>&lt;P&gt;ok&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 15:45:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-a-pivot-table-with-2-dimensions/m-p/1531658#M38299</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-01-17T15:45:20Z</dc:date>
    </item>
  </channel>
</rss>

