<?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 Unexpected sort on a Calculated Dimension: [Line] &amp; ' ' &amp; [Label] in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Unexpected-sort-on-a-Calculated-Dimension-Line-Label/m-p/1094607#M525331</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see attached Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple Load Script:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sort load script.PNG" class="jive-image image-1" src="/legacyfs/online/111706_sort load script.PNG" style="height: 576px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Simple List Boxes, the third of which doesn't sort how I expect.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="unexpected sort order.PNG" class="jive-image image-2" src="/legacyfs/online/111710_unexpected sort order.PNG" style="height: 449px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I can think of various confounding factors:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The calculated dimension that combines two dimensions: [Line] &amp;amp; ' ' &amp;amp; [Label]&lt;/LI&gt;&lt;LI&gt;The fact that I load the same dataset, and then reload it again&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And so I can workaround and achieve my expected behavior&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Separate Line and Label dimensions (could use a Chart if needed)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I can't wrap my head around &lt;STRONG&gt;why &lt;/STRONG&gt;these things (might) cause the unexpected the results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jan 2016 23:27:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-01-14T23:27:45Z</dc:date>
    <item>
      <title>Unexpected sort on a Calculated Dimension: [Line] &amp; ' ' &amp; [Label]</title>
      <link>https://community.qlik.com/t5/QlikView/Unexpected-sort-on-a-Calculated-Dimension-Line-Label/m-p/1094607#M525331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see attached Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple Load Script:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sort load script.PNG" class="jive-image image-1" src="/legacyfs/online/111706_sort load script.PNG" style="height: 576px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Simple List Boxes, the third of which doesn't sort how I expect.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="unexpected sort order.PNG" class="jive-image image-2" src="/legacyfs/online/111710_unexpected sort order.PNG" style="height: 449px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I can think of various confounding factors:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The calculated dimension that combines two dimensions: [Line] &amp;amp; ' ' &amp;amp; [Label]&lt;/LI&gt;&lt;LI&gt;The fact that I load the same dataset, and then reload it again&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And so I can workaround and achieve my expected behavior&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Separate Line and Label dimensions (could use a Chart if needed)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I can't wrap my head around &lt;STRONG&gt;why &lt;/STRONG&gt;these things (might) cause the unexpected the results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 23:27:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unexpected-sort-on-a-Calculated-Dimension-Line-Label/m-p/1094607#M525331</guid>
      <dc:creator />
      <dc:date>2016-01-14T23:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected sort on a Calculated Dimension: [Line] &amp; ' ' &amp; [Label]</title>
      <link>https://community.qlik.com/t5/QlikView/Unexpected-sort-on-a-Calculated-Dimension-Line-Label/m-p/1094608#M525332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By the way, I say I "expect" Text(Line) to sort like this:&lt;/P&gt;&lt;P&gt;1a&lt;/P&gt;&lt;P&gt;1b&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;6&lt;/P&gt;&lt;P&gt;7&lt;/P&gt;&lt;P&gt;8&lt;/P&gt;&lt;P&gt;9&lt;/P&gt;&lt;P&gt;10&lt;/P&gt;&lt;P&gt;11&lt;/P&gt;&lt;P&gt;12&lt;/P&gt;&lt;P&gt;13a&lt;/P&gt;&lt;P&gt;13b&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if it were &lt;A href="http://stackoverflow.com/a/6810681/1175496"&gt;lexicographic &lt;/A&gt;sorting, wouldn't it be:&lt;/P&gt;&lt;P&gt;10&lt;/P&gt;&lt;P&gt;11&lt;/P&gt;&lt;P&gt;12&lt;/P&gt;&lt;P&gt;13a&lt;/P&gt;&lt;P&gt;13b&lt;/P&gt;&lt;P&gt;1a&lt;/P&gt;&lt;P&gt;1b&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;6&lt;/P&gt;&lt;P&gt;7&lt;/P&gt;&lt;P&gt;8&lt;/P&gt;&lt;P&gt;9&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As demonstrated here in my Chrome Javascript console:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l=['1a','1b','2','3','4','5','6','7','8','9','10','11','12','13a','13b']&lt;/P&gt;&lt;P&gt;["1a", "1b", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13a", "13b"]&lt;/P&gt;&lt;P&gt;l.sort()&lt;/P&gt;&lt;P&gt;["10", "11", "12", "13a", "13b", "1a", "1b", "2", "3", "4", "5", "6", "7", "8", "9"]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 23:56:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unexpected-sort-on-a-Calculated-Dimension-Line-Label/m-p/1094608#M525332</guid>
      <dc:creator />
      <dc:date>2016-01-14T23:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected sort on a Calculated Dimension: [Line] &amp; ' ' &amp; [Label]</title>
      <link>https://community.qlik.com/t5/QlikView/Unexpected-sort-on-a-Calculated-Dimension-Line-Label/m-p/1094609#M525333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And I wasn't sure why these expressions behave differently:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Text(Line)&lt;/LI&gt;&lt;LI&gt;Num#(PurgeChar(Num, 'abcd'))&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 09:51:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unexpected-sort-on-a-Calculated-Dimension-Line-Label/m-p/1094609#M525333</guid>
      <dc:creator />
      <dc:date>2016-02-15T09:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected sort on a Calculated Dimension: [Line] &amp; ' ' &amp; [Label]</title>
      <link>https://community.qlik.com/t5/QlikView/Unexpected-sort-on-a-Calculated-Dimension-Line-Label/m-p/1094610#M525334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Particularly if I first sort on "Expression" Num#(PurgeChar(...)), Ascending but I also check the "Text" checkbox, what's the difference? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 09:54:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Unexpected-sort-on-a-Calculated-Dimension-Line-Label/m-p/1094610#M525334</guid>
      <dc:creator />
      <dc:date>2016-02-15T09:54:41Z</dc:date>
    </item>
  </channel>
</rss>

