<?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 List Box by state and then by date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sort-List-Box-by-state-and-then-by-date/m-p/358522#M495378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have a List Box and its value is calculated by the expression &lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13427041618476888" jivemacro_uid="_13427041618476888"&gt;&lt;P&gt;=MakeDate(ORDYEAR,ORDMONTH,ORDDAY)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;I would like its values to be sorted first by state (possible or not possible) and then by its date value. I can't see this possibility to use more than one sorting rule giving them different priorities. Is there a way? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jul 2012 13:27:31 GMT</pubDate>
    <dc:creator>bluishjoe</dc:creator>
    <dc:date>2012-07-19T13:27:31Z</dc:date>
    <item>
      <title>Sort List Box by state and then by date</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-List-Box-by-state-and-then-by-date/m-p/358522#M495378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have a List Box and its value is calculated by the expression &lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13427041618476888" jivemacro_uid="_13427041618476888"&gt;&lt;P&gt;=MakeDate(ORDYEAR,ORDMONTH,ORDDAY)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;I would like its values to be sorted first by state (possible or not possible) and then by its date value. I can't see this possibility to use more than one sorting rule giving them different priorities. Is there a way? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 13:27:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-List-Box-by-state-and-then-by-date/m-p/358522#M495378</guid>
      <dc:creator>bluishjoe</dc:creator>
      <dc:date>2012-07-19T13:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sort List Box by state and then by date</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-List-Box-by-state-and-then-by-date/m-p/358523#M495379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;sort by state and sort by number option in the sort tab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 13:36:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-List-Box-by-state-and-then-by-date/m-p/358523#M495379</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-07-19T13:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sort List Box by state and then by date</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-List-Box-by-state-and-then-by-date/m-p/358524#M495380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;I tried that: sort by State Auto Ascending (or Ascending) and by Numeric Value Ascending.&lt;/P&gt;&lt;P&gt;But it sorts by numeric value and possible values are mixed inside non-possible ones.&lt;/P&gt;&lt;P&gt;I need all possible values on the top, sorted by date, and then all non-possible values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 13:54:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-List-Box-by-state-and-then-by-date/m-p/358524#M495380</guid>
      <dc:creator>bluishjoe</dc:creator>
      <dc:date>2012-07-19T13:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sort List Box by state and then by date</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-List-Box-by-state-and-then-by-date/m-p/358525#M495381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is that list box doesn't have scroll? i mean all data in listbox can be viewable without scrolling?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 14:13:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-List-Box-by-state-and-then-by-date/m-p/358525#M495381</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-07-19T14:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sort List Box by state and then by date</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-List-Box-by-state-and-then-by-date/m-p/358526#M495382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It does have a scroll, it is a long list of dates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2012 15:48:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-List-Box-by-state-and-then-by-date/m-p/358526#M495382</guid>
      <dc:creator>bluishjoe</dc:creator>
      <dc:date>2012-07-19T15:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sort List Box by state and then by date</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-List-Box-by-state-and-then-by-date/m-p/358527#M495383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same problem (10 SR5). Sort works fine for State if the list is a simple field. But when I use an expression for the list I can't seem to do anything to make the items sort by state so that only valid options will show first. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case I have one list box that shows the system $Table values. If the user Qliks on a table then the other list box will show the $Field values. However, I don't want to show all of them I'm using the expression below to limit them. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;= &lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Left&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;$Field&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,1) &amp;lt;&amp;gt; '_' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Len&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;$Field&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&amp;gt;2, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;$Field)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2012 14:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-List-Box-by-state-and-then-by-date/m-p/358527#M495383</guid>
      <dc:creator />
      <dc:date>2012-10-16T14:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sort List Box by state and then by date</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-List-Box-by-state-and-then-by-date/m-p/358528#M495384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have tried the match-expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Match (text, mask_expr1, ...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Own example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Match( Day, 'Monday','Tuesday'.......,'Sunday')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 11:00:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-List-Box-by-state-and-then-by-date/m-p/358528#M495384</guid>
      <dc:creator />
      <dc:date>2012-11-13T11:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sort List Box by state and then by date</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-List-Box-by-state-and-then-by-date/m-p/358529#M495385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Patryk! How does your suggestion can be applied to my case?&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;Match(...)&lt;/CODE&gt; should replace &lt;CODE class="jive-code"&gt;MakeDate(...)&lt;/CODE&gt;?&lt;/P&gt;&lt;P&gt;Note that I need a List Box with a list of dates in the form DD/MM/YYYY or similar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 15:38:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-List-Box-by-state-and-then-by-date/m-p/358529#M495385</guid>
      <dc:creator>bluishjoe</dc:creator>
      <dc:date>2012-11-13T15:38:33Z</dc:date>
    </item>
  </channel>
</rss>

