<?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 sort by expression for specific row item on a dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-sort-by-expression-for-specific-row-item-on-a-dimension/m-p/1588706#M507854</link>
    <description>&lt;P&gt;Thanks so much!&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jun 2019 16:09:04 GMT</pubDate>
    <dc:creator>G-QVW</dc:creator>
    <dc:date>2019-06-05T16:09:04Z</dc:date>
    <item>
      <title>Pivot sort by expression for specific row item on a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-sort-by-expression-for-specific-row-item-on-a-dimension/m-p/1588534#M507852</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Am very new to QlikView and enjoying it immensely so far but am having trouble achieving what I need for a specific requirement.&lt;/P&gt;&lt;P&gt;I have a pivot table that i wish to sort by ascending value of an expression for a specific row item within a dimension.&lt;/P&gt;&lt;P&gt;The pivot table looks like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QVEX1.JPG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/13223iA41FF50958B43C67/image-size/large?v=v2&amp;amp;px=999" role="button" title="QVEX1.JPG" alt="QVEX1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The requirement is to be able to sort the entire pivot by CCY in Descending order for Entity 'Group ZZA' :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QVEX2.JPG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/13222i702C853AB337E0AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="QVEX2.JPG" alt="QVEX2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Looking specifically at Group ZZA we see PHP is the lowest currency, then LVL, SKK, MUR etc...we need this sort to apply to all Entities.&lt;/P&gt;&lt;P&gt;Is there a way of achieving this? I thought i could do it with a sort expression and if match eg: =if(Match([Entity],'Group ZZA'),sum(Position),0) but this doesn't seem to work.&lt;/P&gt;&lt;P&gt;Any help greatly appreciated.&lt;/P&gt;&lt;P&gt;Have included an xlsx of the dummy data and the QVW file if that helps.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2019 10:37:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-sort-by-expression-for-specific-row-item-on-a-dimension/m-p/1588534#M507852</guid>
      <dc:creator>G-QVW</dc:creator>
      <dc:date>2019-06-05T10:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot sort by expression for specific row item on a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-sort-by-expression-for-specific-row-item-on-a-dimension/m-p/1588586#M507853</link>
      <description>&lt;P&gt;Try this as your sort expression&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum(TOTAL &amp;lt;CCY&amp;gt; {&amp;lt;Entity = {'Group ZZA'}&amp;gt;}Position)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 05 Jun 2019 12:46:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-sort-by-expression-for-specific-row-item-on-a-dimension/m-p/1588586#M507853</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-06-05T12:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot sort by expression for specific row item on a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-sort-by-expression-for-specific-row-item-on-a-dimension/m-p/1588706#M507854</link>
      <description>&lt;P&gt;Thanks so much!&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2019 16:09:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-sort-by-expression-for-specific-row-item-on-a-dimension/m-p/1588706#M507854</guid>
      <dc:creator>G-QVW</dc:creator>
      <dc:date>2019-06-05T16:09:04Z</dc:date>
    </item>
  </channel>
</rss>

