<?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 problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-problem/m-p/1197745#M880792</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Load the field Emprange before your data in the order you want, &lt;/P&gt;&lt;P&gt;then load all the other tables &lt;/P&gt;&lt;P&gt;and sort the listbox &lt;SPAN style="font-size: 13.3333px;"&gt;Emprange &lt;/SPAN&gt; by load order original&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Oct 2016 12:34:35 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2016-10-15T12:34:35Z</dc:date>
    <item>
      <title>Sorting problem</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-problem/m-p/1197742#M880789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table with fields ID and Emprange&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000;" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;/TR&gt;&lt;TR&gt;&lt;/TR&gt;&lt;TR&gt;&lt;/TR&gt;&lt;TR&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;H.&amp;nbsp; No&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Emprange&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0 Employees &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1-10 Employees &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;101-500 Employees &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;501-1,000 Employees &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;11-100 Employees &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1,001-5,000 Employees &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I reloaded and I have taken&amp;nbsp; Emprange as a filter.&lt;/P&gt;&lt;P&gt;It is not giving an order.&lt;/P&gt;&lt;P&gt;I need to have like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Emprange &lt;/P&gt;&lt;P&gt;0 Employees &lt;/P&gt;&lt;P&gt;1-10 Employees &lt;/P&gt;&lt;P&gt;11-100 Employees &lt;/P&gt;&lt;P&gt;101-500 Employees &lt;/P&gt;&lt;P&gt;501-1,000 Employees &lt;/P&gt;&lt;P&gt;1,001-5000 Employees &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My filter should be like above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got it by using Match function and now it is giving like that but if I make a selection it is not giving an order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose if I select 11-100 Employees, it turns into green colour and it arrives at top like below&lt;/P&gt;&lt;P&gt;Emprange &lt;/P&gt;&lt;P&gt;11-100 Employees &lt;/P&gt;&lt;P&gt;0 Employees &lt;/P&gt;&lt;P&gt;1-10 Employees &lt;/P&gt;&lt;P&gt;1001-5,000 Employees &lt;/P&gt;&lt;P&gt;501-1,000 Employees &lt;/P&gt;&lt;P&gt;100-500 Employees &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is giving like above.&lt;/P&gt;&lt;P&gt;But it should be as it is while selecting filter.&lt;/P&gt;&lt;P&gt;I need like below&lt;/P&gt;&lt;P&gt;Emprange &lt;/P&gt;&lt;P&gt;0 Employees &lt;/P&gt;&lt;P&gt;1-10 Employees &lt;/P&gt;&lt;P&gt;11-100 Employees &lt;/P&gt;&lt;P&gt;101-500 Employees &lt;/P&gt;&lt;P&gt;501-1,000 Employees &lt;/P&gt;&lt;P&gt;1,001-5,000 Employees &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can we achieve???&lt;/P&gt;&lt;P&gt;Please help me out this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks venkey.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-problem/m-p/1197742#M880789</guid>
      <dc:creator>venkey2847</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting problem</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-problem/m-p/1197743#M880790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your Match statement? Something like this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Match(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Emprange, .....)&lt;/STRONG&gt;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this instead:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Match(Only({1} &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Emprange, ....)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 19:00:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-problem/m-p/1197743#M880790</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-14T19:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting problem</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-problem/m-p/1197744#M880791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would create a new field from them like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dual(Emprange, [H. No]) as Emprange&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then using a numeric sort-order within the sort-tab and also disabling the sorting to the selection state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Oct 2016 11:56:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-problem/m-p/1197744#M880791</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-10-15T11:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting problem</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-problem/m-p/1197745#M880792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Load the field Emprange before your data in the order you want, &lt;/P&gt;&lt;P&gt;then load all the other tables &lt;/P&gt;&lt;P&gt;and sort the listbox &lt;SPAN style="font-size: 13.3333px;"&gt;Emprange &lt;/SPAN&gt; by load order original&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Oct 2016 12:34:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-problem/m-p/1197745#M880792</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-10-15T12:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting problem</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-problem/m-p/1197746#M880793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@sunny,i used only({1} Emprange)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works fine now but can you please explain me how it works briefly &lt;/P&gt;&lt;P&gt;Thanks alot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 13:23:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-problem/m-p/1197746#M880793</guid>
      <dc:creator>venkey2847</dc:creator>
      <dc:date>2016-10-18T13:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting problem</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-problem/m-p/1197747#M880794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without adding {1} you un-selected portion of Enprange becomes null which cannot be used within the Match function. When you add {1}, you ignore all selections and &lt;SPAN style="font-size: 13.3333px;"&gt;Enprange is always the same value. All I am doing is to ignore selections in your sort expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Does this make sense?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 16:53:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-problem/m-p/1197747#M880794</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-18T16:53:00Z</dc:date>
    </item>
  </channel>
</rss>

