<?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 Expression in straight table... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/883990#M308268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a problem with sorting in straight table.. let me explain me..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a pivot table with two dimension and 3 expressions.&lt;/P&gt;&lt;P&gt;my expression are below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) SUM({&amp;lt;Brand = {"$(=trim(subfield(GetFieldSelections(Brand),',',1)))"}&amp;gt;} SellOut.Total_Sale)&lt;/P&gt;&lt;P&gt;2) SUM({&amp;lt;Brand = {"$(=trim(subfield(GetFieldSelections(Brand),',',2)))"}&amp;gt;} SellOut.Total_Sale)&lt;/P&gt;&lt;P&gt;3) column(1) -column (2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;user can select 2 &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Brand to see the difference , between two Brands. (i have more than 50 brands in list box)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;let say if i select "SAMSUNG" AND "APPLE" in brand listbox. my chart look like below...(sample)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ss.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/91898_ss.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;in the image above, store is my dimension, and APPLE is my first expression, and SAMSUNG is second Expression.&lt;/P&gt;&lt;P&gt;its sorted alphabetically....&lt;/P&gt;&lt;P&gt;but i want first column, which i select first, and second column which i select on no two..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let say if i select Samsung first, and then i select apple, then Samsung must be first column, and apple must be second...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but whatever i select it sort alphabetically all the time..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any idea....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 05 Jul 2015 05:36:19 GMT</pubDate>
    <dc:creator>israrkhan</dc:creator>
    <dc:date>2015-07-05T05:36:19Z</dc:date>
    <item>
      <title>Sort Expression in straight table...</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/883990#M308268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a problem with sorting in straight table.. let me explain me..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a pivot table with two dimension and 3 expressions.&lt;/P&gt;&lt;P&gt;my expression are below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) SUM({&amp;lt;Brand = {"$(=trim(subfield(GetFieldSelections(Brand),',',1)))"}&amp;gt;} SellOut.Total_Sale)&lt;/P&gt;&lt;P&gt;2) SUM({&amp;lt;Brand = {"$(=trim(subfield(GetFieldSelections(Brand),',',2)))"}&amp;gt;} SellOut.Total_Sale)&lt;/P&gt;&lt;P&gt;3) column(1) -column (2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;user can select 2 &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Brand to see the difference , between two Brands. (i have more than 50 brands in list box)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;let say if i select "SAMSUNG" AND "APPLE" in brand listbox. my chart look like below...(sample)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ss.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/91898_ss.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;in the image above, store is my dimension, and APPLE is my first expression, and SAMSUNG is second Expression.&lt;/P&gt;&lt;P&gt;its sorted alphabetically....&lt;/P&gt;&lt;P&gt;but i want first column, which i select first, and second column which i select on no two..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let say if i select Samsung first, and then i select apple, then Samsung must be first column, and apple must be second...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but whatever i select it sort alphabetically all the time..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any idea....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 05:36:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/883990#M308268</guid>
      <dc:creator>israrkhan</dc:creator>
      <dc:date>2015-07-05T05:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Expression in straight table...</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/883991#M308269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create straight table instead of Pivot table. In straight table you can just double click on column header to sort it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 05:41:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/883991#M308269</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-07-05T05:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Expression in straight table...</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/883992#M308270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you did not get me..?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i dont want to sort values, i want to sort the Heading...&lt;/P&gt;&lt;P&gt;currently i have APPLE ! SAMSUNG&lt;/P&gt;&lt;P&gt;But i want&amp;nbsp; SAMSUNG then Apple,&lt;/P&gt;&lt;P&gt;is it clear?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 06:05:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/883992#M308270</guid>
      <dc:creator>israrkhan</dc:creator>
      <dc:date>2015-07-05T06:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Expression in straight table...</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/883993#M308271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry to misunderstood.. Can you please post the sample app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 06:21:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/883993#M308271</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-07-05T06:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Expression in straight table...</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/883994#M308272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to put a sorting on your dimension Brand within the script, maybe by an additionally field which containde the sort-order or you used a dual-field for your dimension Brand, maybe in this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BrandSorting:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;Brand, BrandSorting&lt;/P&gt;&lt;P&gt;Samsung, 1&lt;/P&gt;&lt;P&gt;Apple, 2&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you didn't use getfieldselection else concat to get the selected values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;Brand = {"$(=subfield(concat(distinct Brand, ',', &lt;STRONG&gt;BrandSorting&lt;/STRONG&gt;),',',1))"}&amp;gt;} SellOut.Total_Sale)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then concat has as third parameter a numeric sorting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 09:16:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/883994#M308272</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-07-05T09:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Expression in straight table...</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/883995#M308273</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;if I understand right you want to order the column in the temporally order that users select the two brand from a listbox Brand (NOT a static order that you have for example in a table of the database).&lt;/P&gt;&lt;P&gt;Can you confirm this?&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 10:02:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/883995#M308273</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-05T10:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Expression in straight table...</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/883996#M308274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;let me explain again...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have two conditional expressions, that sum up data for two selected brands, user can select two brand to see the value, if nothing is selected in brand listbox then chart does not show any thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when user select Let say "Nokia" then first expression gets enables, and in the chart i can see two dimension and one expression column(Nokia).&lt;/P&gt;&lt;P&gt;when user select second brand, let say "APPLE" then second expression get enabled, and user can see the data for APPLE, and third expression is column(1)- column(2) this is difference between two selected brands..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;up to here , every thing is fine..&lt;/P&gt;&lt;P&gt;but now, what i want ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i selected nokia first, and then i selected apple.&lt;/P&gt;&lt;P&gt;so i want my first column nokia and second column apple,&lt;/P&gt;&lt;P&gt;but qlikview sort it alphabetically, and shows me first column Apple and second column nokia...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i just want to see at column one, which i select first..and then second column, which i select second..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ss.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/91899_ss.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the above image, first i selected SUMSUNG, then i selected APPLE&lt;/P&gt;&lt;P&gt;but Samsung is at column 2, and apple become column 1.&lt;/P&gt;&lt;P&gt;i want Samsung at column 1, and apple at column 2..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think its clear now...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks Guys...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 10:57:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/883996#M308274</guid>
      <dc:creator>israrkhan</dc:creator>
      <dc:date>2015-07-05T10:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Expression in straight table...</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/883997#M308275</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;thanks for the idea..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) i have more than 100 Brands, looking for some short way... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;&lt;P&gt;2) you shared the below expression.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SUM({&amp;lt;Brand = {"$(=subfield(concat(distinct Brand, ',', &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;BrandSorting&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;),',',1))"}&amp;gt;} SellOut.Total_Sale)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think this expression will sum up the data for selected brands in one value, mean one column.&lt;/P&gt;&lt;P&gt;but i want to compare the two selected brands, and want to show the difference? &lt;/P&gt;&lt;P&gt;that why i have two expressions, where i sum up data for two selected brands..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 11:02:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/883997#M308275</guid>
      <dc:creator>israrkhan</dc:creator>
      <dc:date>2015-07-05T11:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Expression in straight table...</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/883998#M308276</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 do something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 11:18:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/883998#M308276</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-07-05T11:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Expression in straight table...</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/883999#M308277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IsrarKhan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I ask again is only to help you better.&lt;/P&gt;&lt;P&gt;And I ask again because a user says to you that you kan use a priority field (STATIC order).&lt;/P&gt;&lt;P&gt;Excuse me but only to be clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I try do to what you need with alternate state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try if this can is good for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 11:23:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/883999#M308277</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-05T11:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Expression in straight table...</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/884000#M308278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is what i have currently...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you select samsung and apple in your brand list, then all the time apple comes as first column..even if you select sumsung first...&lt;/P&gt;&lt;P&gt;i want first column which i select first...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 11:32:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/884000#M308278</guid>
      <dc:creator>israrkhan</dc:creator>
      <dc:date>2015-07-05T11:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Expression in straight table...</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/884001#M308279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm very happy this can help you.&lt;/P&gt;&lt;P&gt;I try also to find a way to save in which order user select the values in a listbox but I dont find nothing, unfortunatelly.&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 11:37:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/884001#M308279</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-05T11:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Expression in straight table...</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/884002#M308280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, this is what i want...&lt;/P&gt;&lt;P&gt;but without alternate state.... &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;i have more than 100 brands, in your suggestions, i have to put two list boxes for same brands,&lt;/P&gt;&lt;P&gt;and user will chose two brands from two list boxes...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your time...really appreciate your effort..&lt;/P&gt;&lt;P&gt;many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 11:37:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/884002#M308280</guid>
      <dc:creator>israrkhan</dc:creator>
      <dc:date>2015-07-05T11:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Expression in straight table...</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/884003#M308281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are wellcome!&lt;/P&gt;&lt;P&gt;I'm very interesting if it is possible to store the users selection order in a Listbox.&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 11:50:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/884003#M308281</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-05T11:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Expression in straight table...</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/884004#M308282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;surely we can help once u post ur application here...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 11:57:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/884004#M308282</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-05T11:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Expression in straight table...</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/884005#M308283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This can be done by changes in the script. there you have to mention the way u want it..done the same thing in the past...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 12:17:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/884005#M308283</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-05T12:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Expression in straight table...</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/884006#M308284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, it's not sum all all possible brand-values - it takes only the first brand-value and it meant you need further to use two expressions - I have only one expression showed as example, therefore:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;Brand = {"$(=subfield(concat(distinct Brand, ',', &lt;STRONG&gt;BrandSorting&lt;/STRONG&gt;),',',&lt;STRONG&gt;1&lt;/STRONG&gt;))"}&amp;gt;} SellOut.Total_Sale)&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;Brand = {"$(=subfield(concat(distinct Brand, ',', &lt;STRONG&gt;BrandSorting&lt;/STRONG&gt;),',',&lt;STRONG&gt;2&lt;/STRONG&gt;))"}&amp;gt;} SellOut.Total_Sale)&lt;/P&gt;&lt;P&gt;column(1) -column (2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's only the same like your example only that it used concat which offered as adavantage against getfieldselection a sorting option and which could be extend with additional condition maybe with an included set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I fear it's the easiest and shortest solution. You could of course try to define the order with variables and actions but this is quite complex and it will fail if there is a multiple selection at one time (for example selection by pressing the ctrl-key). Further you could check which Brand has the most or max. value or similar and ordered them to these value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another very easy possibilty is to use two fields and listboxes (same values but different fieldnames) with the option to allow only one selected value and use listbox one for expression one and listbox two for expression two.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Jul 2015 12:33:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Expression-in-straight-table/m-p/884006#M308284</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-07-05T12:33:27Z</dc:date>
    </item>
  </channel>
</rss>

