<?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 not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-not-working/m-p/894127#M1005682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pick(Match(_SortBy, 'Quantities', 'Amounts'),sum(Quantity),sum(Amount))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 May 2015 10:28:40 GMT</pubDate>
    <dc:creator>preminqlik</dc:creator>
    <dc:date>2015-05-20T10:28:40Z</dc:date>
    <item>
      <title>Sorting not working</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-not-working/m-p/894122#M1005677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a Pivot table with dimensions:&lt;/P&gt;&lt;P&gt;Role, Region, Department, Username and 2 expressions as Quantity and Amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am implementing the Sorting on 2 expressions.&lt;/P&gt;&lt;P&gt;Under Sort tab , for each dimension i checked expression in descending and used :&lt;/P&gt;&lt;P&gt;pick(match(_SortBy, 'Quantities', 'Amounts'), &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Quantity, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Amount&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; But Sorting is not working. Where am i wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 09:38:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-not-working/m-p/894122#M1005677</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2015-05-20T09:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting not working</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-not-working/m-p/894123#M1005678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nikhil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dual(Your_Field,Match(Your_Field, 'Quantities', 'Amounts')) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 09:43:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-not-working/m-p/894123#M1005678</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2015-05-20T09:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting not working</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-not-working/m-p/894124#M1005679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,Under Sort tab for each dimension i write expr as and selected descending:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Dual(Role,Match(_SortBy, 'Quantities', 'Amounts'))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px; line-height: 1.5em;"&gt;Dual(Region,Match(_SortBy, 'Quantities', 'Amounts'))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Dual(Department,Match(_SortBy, 'Quantities', 'Amounts'))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Dual(UserName,Match(_SortBy, 'Quantities', 'Amounts'))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;But still does not works&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 09:50:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-not-working/m-p/894124#M1005679</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2015-05-20T09:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting not working</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-not-working/m-p/894125#M1005680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 10:08:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-not-working/m-p/894125#M1005680</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-20T10:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting not working</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-not-working/m-p/894126#M1005681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Plz found attached file . Also i am using personal edition so kindly letme know what changes i need to do here only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 10:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-not-working/m-p/894126#M1005681</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2015-05-20T10:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting not working</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-not-working/m-p/894127#M1005682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pick(Match(_SortBy, 'Quantities', 'Amounts'),sum(Quantity),sum(Amount))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 10:28:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-not-working/m-p/894127#M1005682</guid>
      <dc:creator>preminqlik</dc:creator>
      <dc:date>2015-05-20T10:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting not working</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-not-working/m-p/894128#M1005683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the problem is that this is a pivot table and it will need to break the pivot table's grouping to sort in the order you want.&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/86989_Capture.PNG" style="height: 311px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you want you probably would be able to sort the way you want in a straight table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/87008_Capture1.PNG" style="height: 213px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.PNG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/87009_Capture2.PNG" style="height: 200px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By using the following expression for just the UserName dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Pick(Match(_SortBy, 'Quantities', 'Amounts'), Sum(Quantity), Sum(Amount))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/87010_Capture.PNG" style="height: 532px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 10:45:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-not-working/m-p/894128#M1005683</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-20T10:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting not working</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-not-working/m-p/894129#M1005684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;Thanks sunny but i want in pivot table. Cann't it be done in pivot anyway ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 10:48:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-not-working/m-p/894129#M1005684</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2015-05-20T10:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting not working</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-not-working/m-p/894130#M1005685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I may be wrong, but it seems that it will break the grouping. For example when you are sorting on Quantites your first and second row will be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Admin - India - Administration - O - 60&lt;/P&gt;&lt;P&gt;(Blank) - US - Administration - M - 56&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Admin's are not all together anymore. If that's what you want, then you will end up seeing a straight table and I guess that's what the straight table is for. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I doubt it is possible, but others may disagree &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 10:53:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-not-working/m-p/894130#M1005685</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-20T10:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting not working</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-not-working/m-p/894131#M1005686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The 1st row would be O-60&lt;/P&gt;&lt;P&gt;2nd would be C-6 (because it is in the same Role region and departent as of O)&lt;/P&gt;&lt;P&gt;3rd row would be M-56 and then the other values in the same department or role if any would get sorted&lt;/P&gt;&lt;P&gt;and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I'm clear &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nikhil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 11:02:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-not-working/m-p/894131#M1005686</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2015-05-20T11:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting not working</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-not-working/m-p/894132#M1005687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't think I know how to do it. Tried a lot of things, but did not get it to work. May be somebody else might have a better idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 12:05:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-not-working/m-p/894132#M1005687</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-20T12:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting not working</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-not-working/m-p/894133#M1005688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nikhil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have a hierarchy of dimensions set, these will group accordingly in your pivot table, what you are talking about is splitting this table based on the bottom level username field on a row by row basis. Not something you'll be able to do in a pivot table I'm afraid. &lt;/P&gt;&lt;P&gt;You can order on the Y-value to give you an amount order, this will happen within each dimension though. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Sunny has said, sounds like your after a straight table to be honest. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 12:16:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-not-working/m-p/894133#M1005688</guid>
      <dc:creator />
      <dc:date>2015-05-20T12:16:08Z</dc:date>
    </item>
  </channel>
</rss>

