<?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: Why does a listbox_item with a formula not sort correctly? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Why-does-a-listbox-item-with-a-formula-not-sort-correctly/m-p/748989#M267275</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;One doesn't really have to understand everything - it's quite enough to know how to avoid the situation &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I will try putting the same formula in my script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Dec 2014 09:41:05 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2014-12-01T09:41:05Z</dc:date>
    <item>
      <title>Why does a listbox_item with a formula not sort correctly?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-a-listbox-item-with-a-formula-not-sort-correctly/m-p/748987#M267273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a strange issue:&lt;/P&gt;&lt;P&gt;- I have a listbox coming from a database with a date-time-stamp.&lt;/P&gt;&lt;P&gt;- I use the following formula to extract the time - which does work. That's not the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;gt;&amp;gt; TIME(Frac(num(TRAN_DATE)), 'hh:mm') &amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;=&amp;gt; So I omit the seconds, but nobody cares about those.&lt;/P&gt;&lt;P&gt;The strange thing is, when I have a listbox_item with this formula and make a selection elsewhere, only one time is selectable there - that is okay - but the listbox doesn't sort.&lt;/P&gt;&lt;P&gt;I tried sorting it by "status - ascending" - that way the selectable one should be on top, yes?&lt;/P&gt;&lt;P&gt;Well, it isn't - nor at the bottom, either - it's somewhere in the middle. It is there all right - but why doesn't it sort?&lt;/P&gt;&lt;P&gt;Can someone give me a hint here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: Ok, I have entered part of the formula in the corresp. field now - Frac(num(TRAN_DATE)) - and it works. But I still don't understand why?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 09:27:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-a-listbox-item-with-a-formula-not-sort-correctly/m-p/748987#M267273</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-12-01T09:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Why does a listbox_item with a formula not sort correctly?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-a-listbox-item-with-a-formula-not-sort-correctly/m-p/748988#M267274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/115602"&gt;Sorting the values in a listbox when using an expression in the sort tab&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 09:34:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-a-listbox-item-with-a-formula-not-sort-correctly/m-p/748988#M267274</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-12-01T09:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why does a listbox_item with a formula not sort correctly?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-a-listbox-item-with-a-formula-not-sort-correctly/m-p/748989#M267275</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;One doesn't really have to understand everything - it's quite enough to know how to avoid the situation &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I will try putting the same formula in my script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 09:41:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-a-listbox-item-with-a-formula-not-sort-correctly/m-p/748989#M267275</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-12-01T09:41:05Z</dc:date>
    </item>
  </channel>
</rss>

