<?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: Change Month Dimension Sort Order not working correctly in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Change-Month-Dimension-Sort-Order-not-working-correctly/m-p/797359#M1034071</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan, I didn't tested but maybe?:&lt;/P&gt;&lt;P&gt;Dual([Month], match([Month],'Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If in script you create the month with the Month() funtion it will automatically save Month as a Dual value (a number with a text representation) wich can be sorted easily as it is actually a number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jan 2015 11:02:40 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2015-01-30T11:02:40Z</dc:date>
    <item>
      <title>Change Month Dimension Sort Order not working correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Month-Dimension-Sort-Order-not-working-correctly/m-p/797358#M1034070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I came across a question on the community, and I found the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=match([Month],'Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using this expression, I can change the sort order for months. this works fine within a normal listbox,&lt;/P&gt;&lt;P&gt;but when I do the same in a multibox (when adding Month as an expression) it gives me back the numerical value for each one,&lt;/P&gt;&lt;P&gt;as in 1,2,3,4,5,6,7,8,9,10,11,12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I change this expression to give me the actual month name, instead of the numerical values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 10:53:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Month-Dimension-Sort-Order-not-working-correctly/m-p/797358#M1034070</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-30T10:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Change Month Dimension Sort Order not working correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Month-Dimension-Sort-Order-not-working-correctly/m-p/797359#M1034071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan, I didn't tested but maybe?:&lt;/P&gt;&lt;P&gt;Dual([Month], match([Month],'Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If in script you create the month with the Month() funtion it will automatically save Month as a Dual value (a number with a text representation) wich can be sorted easily as it is actually a number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 11:02:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Month-Dimension-Sort-Order-not-working-correctly/m-p/797359#M1034071</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-01-30T11:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Change Month Dimension Sort Order not working correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Month-Dimension-Sort-Order-not-working-correctly/m-p/797360#M1034072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try to add the above expression in the sort tab of the properties&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 11:18:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Month-Dimension-Sort-Order-not-working-correctly/m-p/797360#M1034072</guid>
      <dc:creator>qlikoqlik</dc:creator>
      <dc:date>2015-01-30T11:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Change Month Dimension Sort Order not working correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Month-Dimension-Sort-Order-not-working-correctly/m-p/797361#M1034073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use this in script&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: 'courier new', courier;"&gt;=month(MakeDate(2000,numericMonthField))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;It doesn't matter what year you use in the Makedate() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 11:21:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Month-Dimension-Sort-Order-not-working-correctly/m-p/797361#M1034073</guid>
      <dc:creator>arulsettu</dc:creator>
      <dc:date>2015-01-30T11:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Change Month Dimension Sort Order not working correctly</title>
      <link>https://community.qlik.com/t5/QlikView/Change-Month-Dimension-Sort-Order-not-working-correctly/m-p/797362#M1034074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so ridiculous of me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I just used the same expression under the Sort tab for the Multibox, and it works just fine &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cool.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 11:28:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-Month-Dimension-Sort-Order-not-working-correctly/m-p/797362#M1034074</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-30T11:28:15Z</dc:date>
    </item>
  </channel>
</rss>

