<?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: sorting month names in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sorting-month-names/m-p/700981#M253042</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is alphabetical order&lt;/P&gt;&lt;P&gt;do you have a datefield?&lt;/P&gt;&lt;P&gt;if yes, goto sort tab and enter month(yourdatefield) in ascending order&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Sep 2014 12:15:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-09-03T12:15:20Z</dc:date>
    <item>
      <title>sorting month names</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-month-names/m-p/700980#M253041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a month field...that is not in a sort order...but ,i want to make it in proper sort order.&lt;/P&gt;&lt;P&gt;can anyone tel me!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Smiley.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 12:13:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-month-names/m-p/700980#M253041</guid>
      <dc:creator>rathnam_qv</dc:creator>
      <dc:date>2014-09-03T12:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: sorting month names</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-month-names/m-p/700981#M253042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is alphabetical order&lt;/P&gt;&lt;P&gt;do you have a datefield?&lt;/P&gt;&lt;P&gt;if yes, goto sort tab and enter month(yourdatefield) in ascending order&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 12:15:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-month-names/m-p/700981#M253042</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-03T12:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: sorting month names</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-month-names/m-p/700982#M253043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i can think of two options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) in your script, when you are loading the month name use the dual function to add a number to the month name that way you will have for each month the proper month number, for example Jan will have 1 and March will have 3.&lt;/P&gt;&lt;P&gt;then in your chart go to sort tab and sort using numeric asc or desc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) go to sort tab in your chart, and under expression sort them using the match function:&lt;/P&gt;&lt;P&gt;match(Month,'Jan','Feb','Mar' ...)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 12:18:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-month-names/m-p/700982#M253043</guid>
      <dc:creator>maleksafa</dc:creator>
      <dc:date>2014-09-03T12:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: sorting month names</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-month-names/m-p/700983#M253044</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;You can try these way:&lt;/P&gt;&lt;P&gt;Create a field in script by using&lt;/P&gt;&lt;P&gt;Num(Month(DateField)) as MonthNum;&lt;/P&gt;&lt;P&gt;Sort tab:&lt;/P&gt;&lt;P&gt;Expression : MonthNum&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;Sort:&lt;/P&gt;&lt;P&gt;Load Order: Ascending&lt;/P&gt;&lt;P&gt;If ur data is load in ascending order like Jan, Feb,....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;Expression: match(Month,'Jan','Feb','Mar' ...)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 12:20:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-month-names/m-p/700983#M253044</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2014-09-03T12:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: sorting month names</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-month-names/m-p/700984#M253045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rudolf,&lt;/P&gt;&lt;P&gt;Thanks for your reply!!&lt;/P&gt;&lt;P&gt;The field MO_SHRT_NM is contains the values as Aug,Sep,Mar,...Dec.&lt;/P&gt;&lt;P&gt;this field i am using as dimention in a combo chart...there i am facing the sorting issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Smiley.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 12:24:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-month-names/m-p/700984#M253045</guid>
      <dc:creator>rathnam_qv</dc:creator>
      <dc:date>2014-09-03T12:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: sorting month names</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-month-names/m-p/700985#M253046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;without knowing more about your app, i would suggest&lt;/P&gt;&lt;P&gt;to use an inline table with&lt;/P&gt;&lt;P&gt;[MO_SHRT_NM, sortnr&lt;/P&gt;&lt;P&gt;Jan, 1&lt;/P&gt;&lt;P&gt;Feb, 2&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;Dec, 12]&lt;/P&gt;&lt;P&gt;which connects to your MO_SHRT_NM and you can use sortnr in the sortfield&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 12:26:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-month-names/m-p/700985#M253046</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-03T12:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: sorting month names</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-month-names/m-p/700986#M253047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to Sort Tab....&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;Write below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date#(MO_SHRT_NM,'MMM')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 12:33:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-month-names/m-p/700986#M253047</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-03T12:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: sorting month names</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-month-names/m-p/700987#M253048</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;Try below for sorting&lt;/P&gt;&lt;P&gt;Dual("Your Month Field",match("Your Month Field" ,'Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 12:37:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-month-names/m-p/700987#M253048</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-09-03T12:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: sorting month names</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-month-names/m-p/700988#M253049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in list box properties, sort it according to expression, i mean in&amp;nbsp; formatting write the mmm/yyyy format for sorting. so sorting will happen based on the expression written for sort.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 12:38:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-month-names/m-p/700988#M253049</guid>
      <dc:creator>vinay_hg</dc:creator>
      <dc:date>2014-09-03T12:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: sorting month names</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-month-names/m-p/700989#M253050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Malek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;canu please give me some example how to use dual function in this situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Smiley.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 12:39:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-month-names/m-p/700989#M253050</guid>
      <dc:creator>rathnam_qv</dc:creator>
      <dc:date>2014-09-03T12:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Re: sorting month names</title>
      <link>https://community.qlik.com/t5/QlikView/sorting-month-names/m-p/700990#M253051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here you go, in the script you will see that i am loading an inline table for the days (same thing applies for the month) they are in random order but have a number representing their proper order, and in the list box i am sorting based on numeric value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 12:59:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sorting-month-names/m-p/700990#M253051</guid>
      <dc:creator>maleksafa</dc:creator>
      <dc:date>2014-09-03T12:59:55Z</dc:date>
    </item>
  </channel>
</rss>

