<?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 Sorting in list box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sorting-in-list-box/m-p/375261#M1169684</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 am very new to qlikview and right now I am using the free personal edition to see what this BI tool can do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For my question, I have a list box with the values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apr&lt;/P&gt;&lt;P&gt;Aug&lt;/P&gt;&lt;P&gt;Feb&lt;/P&gt;&lt;P&gt;Dec&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;P&gt;Jul&lt;/P&gt;&lt;P&gt;Jun&lt;/P&gt;&lt;P&gt;Mar&lt;/P&gt;&lt;P&gt;May&lt;/P&gt;&lt;P&gt;Nov&lt;/P&gt;&lt;P&gt;Oct&lt;/P&gt;&lt;P&gt;Sep&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. How can I custom sort this list to Jan, Feb, Mar, and so on?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Everytime I choose a value in this listbox, it promotes that value to the top of the list. How can I make it stay in its original position?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advace.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jul 2012 01:31:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-31T01:31:25Z</dc:date>
    <item>
      <title>Sorting in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-list-box/m-p/375261#M1169684</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 am very new to qlikview and right now I am using the free personal edition to see what this BI tool can do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For my question, I have a list box with the values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apr&lt;/P&gt;&lt;P&gt;Aug&lt;/P&gt;&lt;P&gt;Feb&lt;/P&gt;&lt;P&gt;Dec&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;P&gt;Jul&lt;/P&gt;&lt;P&gt;Jun&lt;/P&gt;&lt;P&gt;Mar&lt;/P&gt;&lt;P&gt;May&lt;/P&gt;&lt;P&gt;Nov&lt;/P&gt;&lt;P&gt;Oct&lt;/P&gt;&lt;P&gt;Sep&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. How can I custom sort this list to Jan, Feb, Mar, and so on?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Everytime I choose a value in this listbox, it promotes that value to the top of the list. How can I make it stay in its original position?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advace.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 01:31:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-list-box/m-p/375261#M1169684</guid>
      <dc:creator />
      <dc:date>2012-07-31T01:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-list-box/m-p/375262#M1169685</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;Right now your monthnames are just text values. You can either load them as proper date values by deriving the Month() name from a timestamp, or if you just create the field manually, try sorting them by load order.&lt;/P&gt;&lt;P&gt;For question #2, try disabling the "State" = Auto Ascending sort option under your listbox &amp;gt; Sort properties.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 01:37:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-list-box/m-p/375262#M1169685</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-31T01:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-list-box/m-p/375263#M1169686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johannes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all, thank you for replying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I said in my first post, I am very new so please bear with me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I unchecked all checkboxes under the SORT and just left LOAD ORDER and it worked, great. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Got this one, thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 01:45:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-list-box/m-p/375263#M1169686</guid>
      <dc:creator />
      <dc:date>2012-07-31T01:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-list-box/m-p/375264#M1169687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a follow up on #1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What if I want it sort in any other way other than ascending, descending or according to the original data load? Is there anyway I can define this custom sorting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 01:51:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-list-box/m-p/375264#M1169687</guid>
      <dc:creator />
      <dc:date>2012-07-31T01:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-list-box/m-p/375265#M1169688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure how you load the months now, but if you do it as an inline load, you can just add a numeric field for sorting like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD * INLINE [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month, MonthSort&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Feb, 2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jan, 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Apr, 4&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mar, 3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; May, 5&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jul, 7&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jun, 6&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sep, 9&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Aug, 8&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Nov, 11&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Oct, 10&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dec, 12&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can sort the field by "Expression" and just put in &lt;EM&gt;&lt;STRONG&gt;MonthSort&lt;/STRONG&gt;&lt;/EM&gt; as the sorting expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 02:05:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-list-box/m-p/375265#M1169688</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-31T02:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting in list box</title>
      <link>https://community.qlik.com/t5/QlikView/Sorting-in-list-box/m-p/375266#M1169689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johannes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field Month is part of the Excel table I loaded through DATA FROM FILES, TABLE FILES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching the code when I click on the EDIT SCRIPT:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where do I place the code that yuo have suggested?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 02:17:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sorting-in-list-box/m-p/375266#M1169689</guid>
      <dc:creator />
      <dc:date>2012-07-31T02:17:49Z</dc:date>
    </item>
  </channel>
</rss>

