<?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 List Box bug? Sort by Expression not working when Treeview is selected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/List-Box-bug-Sort-by-Expression-not-working-when-Treeview-is/m-p/165124#M37558</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree that the biggest drawback to this approach is the single sort order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out the following discussion for an example of the issue, and hopefully a resolution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/39294?tstart=0"&gt;http://community.qlik.com/thread/39294?tstart=0&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Nov 2011 20:34:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-11-18T20:34:37Z</dc:date>
    <item>
      <title>List Box bug? Sort by Expression not working when Treeview is selected</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-bug-Sort-by-Expression-not-working-when-Treeview-is/m-p/165122#M37556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone else experienced this issue: When I use a List Box with Treeview enabled, and then attempt to sort by an expression (in my case just a single field), the sorting doesn't consistently work at all levels.&lt;/P&gt;&lt;P&gt;The weird thing is that depending on other circumstances it sometimes works and sometimes does not work. Sometimes encapsulating the sort field in "Max()" works, depending on the hierarchy.&lt;/P&gt;&lt;P&gt;To give you some more info, the Path field I'm using was constructed using the "hierarchy" command in the load script, and everything displays correctly (as a tip for using Treeview: be sure to choose a delimiter character that is guaranteed not to show up in the path nodes [e.g. '~']).&lt;/P&gt;&lt;P&gt;Could I be doing something wrong, or is this a legitimate bug?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2009 22:38:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-bug-Sort-by-Expression-not-working-when-Treeview-is/m-p/165122#M37556</guid>
      <dc:creator />
      <dc:date>2009-11-25T22:38:55Z</dc:date>
    </item>
    <item>
      <title>List Box bug? Sort by Expression not working when Treeview is selected</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-bug-Sort-by-Expression-not-working-when-Treeview-is/m-p/165123#M37557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've found a workaround to this bug.&lt;/P&gt;&lt;P&gt;Namely, just load the records in the order you desire (e.g. ...ORDER BY list_order) , and then sort by load order within the List Box control. This sorts the list correctly, even when in Tree-View mode.&lt;/P&gt;&lt;P&gt;Workaround trade-offs:&lt;/P&gt;&lt;P&gt;The drawback to this approach is that you're beholden to a single sort order for the path in question.&lt;/P&gt;&lt;P&gt;The advantage is that you can leave the sort order field out of your data model, thereby simplifying it and saving on memory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 05:24:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-bug-Sort-by-Expression-not-working-when-Treeview-is/m-p/165123#M37557</guid>
      <dc:creator />
      <dc:date>2009-12-16T05:24:17Z</dc:date>
    </item>
    <item>
      <title>List Box bug? Sort by Expression not working when Treeview is selected</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-bug-Sort-by-Expression-not-working-when-Treeview-is/m-p/165124#M37558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree that the biggest drawback to this approach is the single sort order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out the following discussion for an example of the issue, and hopefully a resolution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/39294?tstart=0"&gt;http://community.qlik.com/thread/39294?tstart=0&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 20:34:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-bug-Sort-by-Expression-not-working-when-Treeview-is/m-p/165124#M37558</guid>
      <dc:creator />
      <dc:date>2011-11-18T20:34:37Z</dc:date>
    </item>
  </channel>
</rss>

