<?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 a listbox by specific value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sort-a-listbox-by-specific-value/m-p/1112183#M915059</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to sort the listbox Store (see underneath listbox). the requirement is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on the highest level:&lt;/P&gt;&lt;P&gt;DP..&lt;/P&gt;&lt;P&gt;WS..&lt;/P&gt;&lt;P&gt;BM..&lt;/P&gt;&lt;P&gt;INT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which expression or setting should i use ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/125225_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Sort a listbox by specific value</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-listbox-by-specific-value/m-p/1112183#M915059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to sort the listbox Store (see underneath listbox). the requirement is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on the highest level:&lt;/P&gt;&lt;P&gt;DP..&lt;/P&gt;&lt;P&gt;WS..&lt;/P&gt;&lt;P&gt;BM..&lt;/P&gt;&lt;P&gt;INT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which expression or setting should i use ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/125225_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-listbox-by-specific-value/m-p/1112183#M915059</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sort a listbox by specific value</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-listbox-by-specific-value/m-p/1112184#M915060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The easiest way I think is to do a Load Inline of the fields with the values in the order you want them. (For example do an export of the values you have in a listbox.) Then you can set it to Sort by Load order. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 13:34:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-listbox-by-specific-value/m-p/1112184#M915060</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-20T13:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sort a listbox by specific value</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-listbox-by-specific-value/m-p/1112185#M915061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rega,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use below expression as sort expression in sort tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=WildMatch(StoreCode,'DP*','WS*','BM*','INT*')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 13:35:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-listbox-by-specific-value/m-p/1112185#M915061</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-05-20T13:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sort a listbox by specific value</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-listbox-by-specific-value/m-p/1112186#M915062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try a sorting expression like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= wildmatch(StoreCode, 'DP*', 'WS*', 'BM*', 'INT*', '*')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 13:39:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-listbox-by-specific-value/m-p/1112186#M915062</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-05-20T13:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sort a listbox by specific value</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-listbox-by-specific-value/m-p/1112187#M915063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Helena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am really want to learn how to use Load Inline to sort the order of the fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I have a data field called "Case Type" that contains a few type of values "Less Important Case, Other Case, Important Case".&lt;/P&gt;&lt;P&gt;I've created a list box and now the order of these values are "Less Important Case, Other Case, Important Case".&lt;/P&gt;&lt;P&gt;But I want to customize the listing order by showing "Important Case, Less Important case, Other Case". Can you share with me that how can I use the command "Load Inline" to achieve me goal?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Becky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 21:11:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-listbox-by-specific-value/m-p/1112187#M915063</guid>
      <dc:creator />
      <dc:date>2016-06-10T21:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sort a listbox by specific value</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-listbox-by-specific-value/m-p/1112188#M915064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;BR /&gt;Assign a sort order to the Store order in the way you want to sort them&lt;/P&gt;&lt;P&gt;and that can be by adding another field in your source data Sortorder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use Dual Function in your load statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;such as Dual(StoreCode,SortOrder&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 22:43:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-listbox-by-specific-value/m-p/1112188#M915064</guid>
      <dc:creator>ziadm</dc:creator>
      <dc:date>2016-06-10T22:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sort a listbox by specific value</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-listbox-by-specific-value/m-p/1112189#M915065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌hi Becky, &lt;/P&gt;&lt;P&gt;in the script you can do a Load inline like this:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;[Case Type]&lt;/P&gt;&lt;P&gt;Important Case&lt;/P&gt;&lt;P&gt;Other Case&lt;/P&gt;&lt;P&gt;Less Important Case&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;list ist them in the order you need them. &lt;/P&gt;&lt;P&gt;Then after your reload, that order is now established, ie the values were loaded in this order you specified them. Then in the list box, on the Sort tab, check that Load order is used. (You may need to uncheck other types of sorting for this to become active.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope this is clear. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;Helena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 05:23:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-listbox-by-specific-value/m-p/1112189#M915065</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-13T05:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sort a listbox by specific value</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-listbox-by-specific-value/m-p/1112190#M915066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rega,&lt;/P&gt;&lt;P&gt;Also try this attachment, &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 06:05:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-listbox-by-specific-value/m-p/1112190#M915066</guid>
      <dc:creator>susovan</dc:creator>
      <dc:date>2016-06-13T06:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sort a listbox by specific value</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-listbox-by-specific-value/m-p/1112191#M915067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Helena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much for your response. I tried it but shows error. Where do you think was wrong?&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/127658_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I am expecting to load other fields at the same time with the [Case Type] field from the same table, such as "Case ID", "Case Date".&lt;/P&gt;&lt;P&gt;I wasn't sure where should I place other field names?&amp;nbsp; It will show errors, if I do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Case ID], &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Case Date],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt; [Report Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; Spontaneous&lt;BR /&gt; Report from Study,&lt;BR /&gt; Others&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;]; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;From ....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Where ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you mind let me know where was wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 12:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-listbox-by-specific-value/m-p/1112191#M915067</guid>
      <dc:creator />
      <dc:date>2016-06-13T12:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sort a listbox by specific value</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-listbox-by-specific-value/m-p/1112192#M915068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The reason for this error are the square brackets [] which belonged to the inline-statement itself and which now confused the syntax-interpreter. To declare a field within the inline-table is it not necessary to wrap field-names with spaces or special chars with square-brackets&amp;nbsp; - it is like reading a fieldname from a flat-file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to use any special chars it's common to use double-quotes to wrap these data-item. Other possibilities are to double these special chars like ]] or to use a mix of various quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 13:19:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-listbox-by-specific-value/m-p/1112192#M915068</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-06-13T13:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sort a listbox by specific value</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-listbox-by-specific-value/m-p/1112193#M915069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Marcus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the double-quotes and the ]]. However, it shows error after I typed [[ ]]. The double quotes works find. But the "From&amp;nbsp; .... Table" command after Inline" .... " shows error again. How can I solve this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/127669_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 13:47:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-listbox-by-specific-value/m-p/1112193#M915069</guid>
      <dc:creator />
      <dc:date>2016-06-13T13:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sort a listbox by specific value</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-listbox-by-specific-value/m-p/1112194#M915070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should look like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;Case Type&lt;/P&gt;&lt;P&gt;Important Case&lt;/P&gt;&lt;P&gt;Other Case&lt;/P&gt;&lt;P&gt;Less Important Case&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is also a wizard for inline-tables available within the script editor --&amp;gt; menu --&amp;gt; insert --&amp;gt; load --&amp;gt; inline&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 14:13:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-listbox-by-specific-value/m-p/1112194#M915070</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-06-13T14:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sort a listbox by specific value</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-listbox-by-specific-value/m-p/1112195#M915071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a discussion for my problems. It would be great if you can take a look at it&lt;A href="https://community.qlik.com/thread/220642"&gt;Customize sort order&lt;/A&gt; . It will also easier for me to give you credit on this subject.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Becky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 17:40:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-listbox-by-specific-value/m-p/1112195#M915071</guid>
      <dc:creator />
      <dc:date>2016-06-13T17:40:57Z</dc:date>
    </item>
  </channel>
</rss>

