<?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 Multi Box Sorting problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multi-Box-Sorting-problem/m-p/222493#M75166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's nice.&lt;/P&gt;&lt;P&gt;It doesn't work in version 10 beta2 either.&lt;/P&gt;&lt;P&gt;Thank you again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Apr 2010 19:28:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-04-26T19:28:22Z</dc:date>
    <item>
      <title>Multi Box Sorting problem</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Box-Sorting-problem/m-p/222485#M75158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a situation when I need many different calendars, Like GMT, EST, User specific TZ.&lt;/P&gt;&lt;P&gt;For each of the calendars' fields there are a prefixes like "GMT_", "EST_".&lt;/P&gt;&lt;P&gt;There is a prefix field in the system like:&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;PrefixTable:&lt;BR /&gt;load * inline [&lt;BR /&gt;TZPrefixName,TZPrefix&lt;BR /&gt;GMT,GMT_&lt;BR /&gt;EST,EST_&lt;BR /&gt;Session TZ,Session_&lt;BR /&gt;Station TZ,Station_&lt;BR /&gt;];&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;There are variables for current calendar fields presentation, like:&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;SET vCurrTZPrefix=TZPrefix;&lt;BR /&gt;&lt;BR /&gt;SET vDateTime = "=$(vCurrTZPrefix) &amp;amp; 'DateTime'";&lt;BR /&gt;SET vDMDate = "=$(vCurrTZPrefix) &amp;amp; 'DMDate'";&lt;BR /&gt;SET vDMYear = "=$(vCurrTZPrefix) &amp;amp; 'DMYear'";&lt;BR /&gt;SET vDMMonth = "=$(vCurrTZPrefix) &amp;amp; 'DMMonth'";&lt;BR /&gt;SET vDMWeekDay = "=$(vCurrTZPrefix) &amp;amp; 'DMWeekDay'";&lt;BR /&gt;SET vDMDay = "=$(vCurrTZPrefix) &amp;amp; 'DMDay'";&lt;BR /&gt;SET vDMHour = "=$(vCurrTZPrefix) &amp;amp; 'DMHour'";&lt;BR /&gt;SET vDMMinute = "=$(vCurrTZPrefix) &amp;amp; 'DMMinute'";&lt;BR /&gt;SET vHourCount = "=$(vCurrTZPrefix) &amp;amp; 'HourCount'";&lt;BR /&gt;SET vStartDT = "=$(vCurrTZPrefix) &amp;amp; 'StartDate'";&lt;BR /&gt;SET vEndDT = "=$(vCurrTZPrefix) &amp;amp; 'EndDate'";&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;In a dashboard, there is a Multi Box with the expressions instead of real fields. Everything works fine. There is one problem only - sorting of values in the multi box expression based fields. Instead of expected sequence for week days: Mon, Tue, Wed, Thu, Fri, Sat, Sun; I have got: Wed,Thu,Fri,Sat,Sun, Mon,Tue. There is same problem with a month days.&lt;/P&gt;&lt;P&gt;To understand what I'm talking about just take a look at my attached example, where I've made an emulator of the situation.&lt;/P&gt;&lt;P&gt;Is there any idea how to deal with the sorting, or may be there is another solution for whole approach?&lt;/P&gt;&lt;P&gt;QV version is 9.00.7440.8 SR3 x64&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 15:58:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Box-Sorting-problem/m-p/222485#M75158</guid>
      <dc:creator />
      <dc:date>2010-04-22T15:58:10Z</dc:date>
    </item>
    <item>
      <title>Multi Box Sorting problem</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Box-Sorting-problem/m-p/222486#M75159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, nobody knows how to deal with it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Apr 2010 03:02:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Box-Sorting-problem/m-p/222486#M75159</guid>
      <dc:creator />
      <dc:date>2010-04-23T03:02:34Z</dc:date>
    </item>
    <item>
      <title>Multi Box Sorting problem</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Box-Sorting-problem/m-p/222487#M75160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does it mean there is no solution for this? Or nobody faced the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Apr 2010 20:16:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Box-Sorting-problem/m-p/222487#M75160</guid>
      <dc:creator />
      <dc:date>2010-04-23T20:16:21Z</dc:date>
    </item>
    <item>
      <title>Multi Box Sorting problem</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Box-Sorting-problem/m-p/222488#M75161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works fine for me, version 8.50.6231.5:&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/6076.WeekdaySort.png"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/6076.WeekdaySort.png" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Apr 2010 21:01:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Box-Sorting-problem/m-p/222488#M75161</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-04-23T21:01:53Z</dc:date>
    </item>
    <item>
      <title>Multi Box Sorting problem</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Box-Sorting-problem/m-p/222489#M75162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;John Witherspoon wrote:&lt;BR /&gt;Works fine for me, version 8.50.6231.5:&lt;BR /&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/6076.WeekdaySort.png"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/6076.WeekdaySort.png" /&gt;&lt;/A&gt;&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This one works with me too. Try another one. The problem with this:&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/7762.MultiBox1.png"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/7762.MultiBox1.png" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And this:&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/2480.MultiBox2.png"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/2480.MultiBox2.png" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Apr 2010 02:45:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Box-Sorting-problem/m-p/222489#M75162</guid>
      <dc:creator />
      <dc:date>2010-04-24T02:45:21Z</dc:date>
    </item>
    <item>
      <title>Multi Box Sorting problem</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Box-Sorting-problem/m-p/222490#M75163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems it isn't possible to sort on a calculated expression in a Multibox. See e.g.&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/forums/p/22103/84509.aspx#84509"&gt;http://community.qlik.com/forums/p/22103/84509.aspx#84509&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Apr 2010 09:51:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Box-Sorting-problem/m-p/222490#M75163</guid>
      <dc:creator />
      <dc:date>2010-04-26T09:51:18Z</dc:date>
    </item>
    <item>
      <title>Multi Box Sorting problem</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Box-Sorting-problem/m-p/222491#M75164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not a solution for me. because there is no particular dimension for the multi box. The expression is based on an end user selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Apr 2010 13:10:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Box-Sorting-problem/m-p/222491#M75164</guid>
      <dc:creator />
      <dc:date>2010-04-26T13:10:37Z</dc:date>
    </item>
    <item>
      <title>Multi Box Sorting problem</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Box-Sorting-problem/m-p/222492#M75165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Nick Bor wrote:This one works with me too. Try another one. The problem with this:&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Oh! That second multi-box doesn't even &lt;EM&gt;show&lt;/EM&gt; in 8.5, so I thought you were talking about the first one. Sorry about my confusion. I can see it in 9.0.&lt;/P&gt;&lt;P&gt;Why it won't let you select a sort order, I don't know. Hopefully that will be a future feature.&lt;/P&gt;&lt;P&gt;Fortunately, it's easy to work around. The sort order appears to be the load order. So all you need to do is load each of these fields in the order you want it presented BEFORE you get to your main load. In other words, just build a sort order table, then drop it at the end. I've done that many times for various reasons, and it appears to work fine here. See attached.&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;[Sort Orders]:&lt;BR /&gt;LOAD recno() as DMDay&lt;BR /&gt;AUTOGENERATE 31&lt;BR /&gt;;&lt;BR /&gt;CONCATENATE ([Sort Orders])&lt;BR /&gt;LOAD recno() as DMMonth&lt;BR /&gt;AUTOGENERATE 12&lt;BR /&gt;;&lt;BR /&gt;CONCATENATE ([Sort Orders])&lt;BR /&gt;LOAD weekday(date#(20100131,'YYYYMMDD')+recno()) as DMWeekDay&lt;BR /&gt;AUTOGENERATE 7&lt;BR /&gt;;&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;... your regular load here ...&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;DROP TABLE [Sort Orders];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Apr 2010 19:12:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Box-Sorting-problem/m-p/222492#M75165</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-04-26T19:12:38Z</dc:date>
    </item>
    <item>
      <title>Multi Box Sorting problem</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Box-Sorting-problem/m-p/222493#M75166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's nice.&lt;/P&gt;&lt;P&gt;It doesn't work in version 10 beta2 either.&lt;/P&gt;&lt;P&gt;Thank you again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Apr 2010 19:28:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Box-Sorting-problem/m-p/222493#M75166</guid>
      <dc:creator />
      <dc:date>2010-04-26T19:28:22Z</dc:date>
    </item>
    <item>
      <title>Multi Box Sorting problem</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Box-Sorting-problem/m-p/222494#M75167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wait a second. Where are the months' names?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Apr 2010 19:37:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Box-Sorting-problem/m-p/222494#M75167</guid>
      <dc:creator />
      <dc:date>2010-04-26T19:37:55Z</dc:date>
    </item>
    <item>
      <title>Multi Box Sorting problem</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Box-Sorting-problem/m-p/222495#M75168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Nick Bor wrote:Wait a second. Where are the months' names?&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Oops. I needed to treat months like I treated weekdays in order to get the month names:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;CONCATENATE ([Sort Orders])&lt;BR /&gt;LOAD month(addmonths(date#(20091201,'YYYYMMDD'),recno())) as DMMonth&lt;BR /&gt;AUTOGENERATE 12&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Apr 2010 19:59:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Box-Sorting-problem/m-p/222495#M75168</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-04-26T19:59:31Z</dc:date>
    </item>
    <item>
      <title>Multi Box Sorting problem</title>
      <link>https://community.qlik.com/t5/QlikView/Multi-Box-Sorting-problem/m-p/222496#M75169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Yes" src="http://community.qlik.com/emoticons/emotion-21.gif" /&gt;&lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Apr 2010 20:13:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multi-Box-Sorting-problem/m-p/222496#M75169</guid>
      <dc:creator />
      <dc:date>2010-04-26T20:13:54Z</dc:date>
    </item>
  </channel>
</rss>

