<?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 order in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378424#M420524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to sort tab , for Branch dimension, in Expression (ascending) use below expression &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;=Pick(Dim, keepchar(BRANCH,'0123456789'), 100)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Sep 2017 10:12:49 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2017-09-08T10:12:49Z</dc:date>
    <item>
      <title>sorting order</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378423#M420523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi FRiends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have following pivot table in my QV doc'&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot_1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/175911_Screenshot_1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have derived this TOTAL rows with the help of following calculated dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Pick(Dim, BRANCH, 'TOTAL')&lt;/P&gt;&lt;P&gt;I have sorted branch field&amp;nbsp; with 'Branch No' in descending order since I want to TOTAL row come to the bottom. However due to this my branch order is shown in descending whereas I want it to be shown in Ascending order with Branch1 being shown in 1st row and Total row to remain as the last row . Can you please advise me how to overcome this&amp;nbsp; issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 10:08:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378423#M420523</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2017-09-08T10:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: sorting order</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378424#M420524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to sort tab , for Branch dimension, in Expression (ascending) use below expression &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;=Pick(Dim, keepchar(BRANCH,'0123456789'), 100)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 10:12:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378424#M420524</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-09-08T10:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: sorting order</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378425#M420525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Upali&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you can create a DUAL field with Branch (&lt;A href="https://community.qlik.com/docs/DOC-8106"&gt;How to use- Dual()&lt;/A&gt;) it will be easy order it later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 10:13:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378425#M420525</guid>
      <dc:creator>jmvilaplanap</dc:creator>
      <dc:date>2017-09-08T10:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: sorting order</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378426#M420526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kushal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done it but it is not working. Now the TOTAL come in between Branches&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 10:25:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378426#M420526</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2017-09-08T10:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: sorting order</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378427#M420527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;make sure you just have expression sort, any other sort like text, numeric, remove that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 10:27:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378427#M420527</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-09-08T10:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: sorting order</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378428#M420528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is how I did it&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot_2.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/175935_Screenshot_2.png" style="height: 323px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Still the same result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 11:33:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378428#M420528</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2017-09-08T11:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: sorting order</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378429#M420529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Remove '=' After branch, due to synatx error it is not showing&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;=Pick(Dim, keepchar(BRANCH =,'0123456789'), 100)&amp;nbsp; -&amp;gt; wrong&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Pick(Dim, keepchar(BRANCH,'0123456789'), 100) -&amp;gt; Correct&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 11:44:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378429#M420529</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-09-08T11:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: sorting order</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378430#M420530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Kushal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I spotted the error after adding my screen shot and corrected the same , still the report is not sorted the way I want . Now the Total Comes to bottom but other branches not ordered in numerical order. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 11:58:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378430#M420530</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2017-09-08T11:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: sorting order</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378431#M420531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share the sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 12:04:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378431#M420531</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-09-08T12:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: sorting order</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378432#M420532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is my sample Qv doc. pls help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 12:19:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378432#M420532</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2017-09-08T12:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: sorting order</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378433#M420533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try to sort it by &lt;STRONG&gt;NO&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Pick(Dim,NO, 1000)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 12:27:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378433#M420533</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-09-08T12:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: sorting order</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378434#M420534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kushal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works. Could you explain me how it works please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 12:38:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378434#M420534</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2017-09-08T12:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: sorting order</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378435#M420535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;In Pick function &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Pick(Dim, BRANCH, 'TOTAL')&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, you have two dimension BRANCH and Total. where Total is static&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so to sort this dimension &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Pick(Dim, BRANCH, 'TOTAL') we should have some number associated with it. For Branch we have &lt;STRONG&gt;NO &lt;/STRONG&gt;field which has numerical values. For total I assigned static value 1000. I assigned 1000 here because Branch NO has 3 digit values, so number for Total should be greater than Branch NO so that Total can appear last in ascending sort order&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;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;So, in this expression Pick(Dim,NO, 1000), &lt;STRONG&gt;NO&lt;/STRONG&gt; sorts the Branch and 1000 is greater number which assigns to total.&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;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 12:56:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378435#M420535</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-09-08T12:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: sorting order</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378436#M420536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Really very helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 13:28:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-order/m-p/1378436#M420536</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2017-09-08T13:28:36Z</dc:date>
    </item>
  </channel>
</rss>

