<?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 Sort Dimension in Pivot in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sort-Dimension-in-Pivot/m-p/410465#M152755</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the [order index] (last dimension in pivot) to sort in ascending order. If I promote this dimension to the top it will sort, but I need this granular level in my pivot table. Any suggestions? Attached is the QVW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Feb 2013 16:11:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-06T16:11:09Z</dc:date>
    <item>
      <title>Sort Dimension in Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Dimension-in-Pivot/m-p/410465#M152755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the [order index] (last dimension in pivot) to sort in ascending order. If I promote this dimension to the top it will sort, but I need this granular level in my pivot table. Any suggestions? Attached is the QVW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 16:11:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Dimension-in-Pivot/m-p/410465#M152755</guid>
      <dc:creator />
      <dc:date>2013-02-06T16:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Dimension in Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Dimension-in-Pivot/m-p/410466#M152756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your example, it is enough to move it one step up, before "Sec Diag".&amp;nbsp; Or, sort "Sec Diag" by expression "order Index"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 16:58:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Dimension-in-Pivot/m-p/410466#M152756</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-06T16:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Dimension in Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Dimension-in-Pivot/m-p/410467#M152757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have neve done the sort by expression that worked. Thank you! Another question I am have is how to include OR logic into an expression or script based on a current selection. Say I want a acct number to be shown if it is in the [Prim Diag] field or the [Sec Diag] field. The Diag code would be the search selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EK &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 17:08:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Dimension-in-Pivot/m-p/410467#M152757</guid>
      <dc:creator />
      <dc:date>2013-02-06T17:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Dimension in Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Dimension-in-Pivot/m-p/410468#M152758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot refer to "current selection" in script - during the reload, selections do not exist.&amp;nbsp; You can though keep info about last selection in a variable, and variables can be used in the script.&lt;/P&gt;&lt;P&gt;Using selection in expression - by deafult expressions take selections into account.&amp;nbsp; In some cases you want to override it using set analysis.&lt;/P&gt;&lt;P&gt;Anyway, you better open a new discussion for that (more people will read), and try to be more specific &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 18:05:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Dimension-in-Pivot/m-p/410468#M152758</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-06T18:05:18Z</dc:date>
    </item>
  </channel>
</rss>

