<?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 Sort by specified field values in a list box? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sort-by-specified-field-values-in-a-list-box/m-p/293698#M1179726</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;Does anyone know if its possible to sort by specified values in a field in a list box i.e. I have a list box with only four available options; Finance,&amp;nbsp; Corporate, Customer, Agents. I would like them sorted in that order. Is it possible to 'hard-code' the values so it will display in that order. I know i could put a number in front of them but i dont want to that really if possible.&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, 17 Feb 2012 09:33:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-02-17T09:33:56Z</dc:date>
    <item>
      <title>Sort by specified field values in a list box?</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-by-specified-field-values-in-a-list-box/m-p/293698#M1179726</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;Does anyone know if its possible to sort by specified values in a field in a list box i.e. I have a list box with only four available options; Finance,&amp;nbsp; Corporate, Customer, Agents. I would like them sorted in that order. Is it possible to 'hard-code' the values so it will display in that order. I know i could put a number in front of them but i dont want to that really if possible.&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, 17 Feb 2012 09:33:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-by-specified-field-values-in-a-list-box/m-p/293698#M1179726</guid>
      <dc:creator />
      <dc:date>2012-02-17T09:33:56Z</dc:date>
    </item>
    <item>
      <title>Sort by specified field values in a list box?</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-by-specified-field-values-in-a-list-box/m-p/293699#M1179727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Its possible you can do it by using match function like &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Match(FieldName,'Finance',&amp;nbsp; 'Corporate', 'Customer', 'Agents')&lt;/P&gt;&lt;P&gt;Use it sort by expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 09:42:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-by-specified-field-values-in-a-list-box/m-p/293699#M1179727</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-17T09:42:44Z</dc:date>
    </item>
    <item>
      <title>Sort by specified field values in a list box?</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-by-specified-field-values-in-a-list-box/m-p/293700#M1179728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for coming back to me Celambarasan. Its still doesent work. I'm using Qlikview 9, Listbox sort by expression (Asending). Its does not seem to be registering any of my logic as if i change the order in the logic around it dosent move.&lt;/P&gt;&lt;P&gt;My data comes from a datawarehouse (SQL). Would it be anything to do with the data type, i.e. 'Char' length is (20)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 10:04:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-by-specified-field-values-in-a-list-box/m-p/293700#M1179728</guid>
      <dc:creator />
      <dc:date>2012-02-17T10:04:15Z</dc:date>
    </item>
    <item>
      <title>Sort by specified field values in a list box?</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-by-specified-field-values-in-a-list-box/m-p/293701#M1179729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Qv9 doesn't support this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Then do one thing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load Dual(StringField,NumField) as FieldName &lt;/P&gt;&lt;P&gt;Inline[&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StringField,NumField&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Finance,1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Corporate,2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer,3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Agents,4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then set this dimension in numeric as Ascending order or load order as original;&lt;/P&gt;&lt;P&gt;If your going to use the load order then you should load this table before the that fields gets loaded from someother table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 10:18:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-by-specified-field-values-in-a-list-box/m-p/293701#M1179729</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-17T10:18:05Z</dc:date>
    </item>
    <item>
      <title>Sort by specified field values in a list box?</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-by-specified-field-values-in-a-list-box/m-p/293702#M1179730</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am triying to understand your requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Your data(Finance,&amp;nbsp; Corporate, Customer, Agents....) all are in one field like sales &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You are retrieving this fieldName (sales) striaght from database right ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you want assign some order value based right ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ashok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 11:16:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-by-specified-field-values-in-a-list-box/m-p/293702#M1179730</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-17T11:16:30Z</dc:date>
    </item>
    <item>
      <title>Sort by specified field values in a list box?</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-by-specified-field-values-in-a-list-box/m-p/293703#M1179731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks for that, &lt;/P&gt;&lt;P&gt;Some stupid questions, dont really understand whats happening.&lt;/P&gt;&lt;P&gt;Should the inline statment be ran in the Load as part of the SQL? Is the 'String field' the column i'm referencing from the SQL?&lt;/P&gt;&lt;P&gt;The 'finance' value is actually 'Finance and Markering', is it ok to put an underscore. ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 11:17:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-by-specified-field-values-in-a-list-box/m-p/293703#M1179731</guid>
      <dc:creator />
      <dc:date>2012-02-17T11:17:25Z</dc:date>
    </item>
    <item>
      <title>Sort by specified field values in a list box?</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-by-specified-field-values-in-a-list-box/m-p/293704#M1179732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Yes thats exactly it Ashok. I want to order a 'Sales' column which is one field/coumn, straight from the database. It has only four possible values which i want to order in a particular way. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 11:20:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-by-specified-field-values-in-a-list-box/m-p/293704#M1179732</guid>
      <dc:creator />
      <dc:date>2012-02-17T11:20:45Z</dc:date>
    </item>
    <item>
      <title>Sort by specified field values in a list box?</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-by-specified-field-values-in-a-list-box/m-p/293705#M1179733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Its a separate table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load this before the sql table gets executed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Here i'm using dual field which can act as both text and number in the way u need.so based on this i set the number field to the order that you want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can use Finance as Finance and Markering no need to add underscore or any quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 11:30:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-by-specified-field-values-in-a-list-box/m-p/293705#M1179733</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-17T11:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Sort by specified field values in a list box?</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-by-specified-field-values-in-a-list-box/m-p/293706#M1179734</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hope the attached file will be helpful for your requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i attched qv file and excel file containg the sales field values(Finance,...)&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;&lt;/P&gt;&lt;P&gt;Ashok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 11:39:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-by-specified-field-values-in-a-list-box/m-p/293706#M1179734</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-17T11:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sort by specified field values in a list box?</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-by-specified-field-values-in-a-list-box/m-p/293707#M1179735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; That worked perfectly, thanks very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One other (last!) question. Its it possible to stop the list items 'jumping' to the top when their selected i.e. Fixed in their location?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 14:26:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-by-specified-field-values-in-a-list-box/m-p/293707#M1179735</guid>
      <dc:creator />
      <dc:date>2012-02-17T14:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sort by specified field values in a list box?</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-by-specified-field-values-in-a-list-box/m-p/293708#M1179736</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;Just you check the check box value of "show as treeview" from Properties ---&amp;gt; general of listbox&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 14:31:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-by-specified-field-values-in-a-list-box/m-p/293708#M1179736</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-17T14:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sort by specified field values in a list box?</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-by-specified-field-values-in-a-list-box/m-p/293709#M1179737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Uncheck the sort by state option in the sort tab of the list box properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 14:31:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-by-specified-field-values-in-a-list-box/m-p/293709#M1179737</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-17T14:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sort by specified field values in a list box?</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-by-specified-field-values-in-a-list-box/m-p/293710#M1179738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; thanks very much for your help guys,&lt;/P&gt;&lt;P&gt;cloggaireland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2012 14:55:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-by-specified-field-values-in-a-list-box/m-p/293710#M1179738</guid>
      <dc:creator />
      <dc:date>2012-02-17T14:55:37Z</dc:date>
    </item>
  </channel>
</rss>

