<?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 a bar chart by two criteria in Sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sorting-a-bar-chart-by-two-criteria-in-Sense/m-p/1334372#M29201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;You can use expection function e() to exclude the first few elements then you all the rest of the elements will be shown, will respond with an example in an hours time&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 May 2017 17:52:39 GMT</pubDate>
    <dc:creator>sibusiso90</dc:creator>
    <dc:date>2017-05-25T17:52:39Z</dc:date>
    <item>
      <title>Sorting a bar chart by two criteria in Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-a-bar-chart-by-two-criteria-in-Sense/m-p/1334367#M29196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the below image, I want to sort so that Nation is first, A is second, then A1 thru A4 by descending value.&amp;nbsp; In the settings it looks as though this is possible, but it is not working.&amp;nbsp; I've created a Sort column, where Nation is 1, A is 2, and the others are 3.&amp;nbsp; I made the dimension the primary sort column, checked 'by Expression,' and entered, '=Max(Sort).'&amp;nbsp; Then I checked to sort by value, descending.&amp;nbsp; (I also tried with the dimension by expression only, and the measure by descending value.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="temp.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/164670_temp.png" style="height: 200px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I choose to sort only by the 'Sort' column OR descending value, each works correctly.&amp;nbsp; When I try to combine them, A1-A4 seem to display by load order.&amp;nbsp; How can I achieve the desired result?&amp;nbsp; The app is attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 20:09:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-a-bar-chart-by-two-criteria-in-Sense/m-p/1334367#M29196</guid>
      <dc:creator>godfreydaniels</dc:creator>
      <dc:date>2017-05-24T20:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting a bar chart by two criteria in Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-a-bar-chart-by-two-criteria-in-Sense/m-p/1334368#M29197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find the attached below for your sorting issue. I hope you find this helpful. You will just switch off your legend. Pity Qliksense doesn't have text in chart.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Qliksense sorting.JPG" class="jive-image image-1" src="/legacyfs/online/164683_Qliksense sorting.JPG" style="height: 298px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 22:33:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-a-bar-chart-by-two-criteria-in-Sense/m-p/1334368#M29197</guid>
      <dc:creator>sibusiso90</dc:creator>
      <dc:date>2017-05-24T22:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting a bar chart by two criteria in Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-a-bar-chart-by-two-criteria-in-Sense/m-p/1334369#M29198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sibusiso, but I can't see what you did--your attached file looks like my own.&amp;nbsp; Did you attach the right one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 12:13:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-a-bar-chart-by-two-criteria-in-Sense/m-p/1334369#M29198</guid>
      <dc:creator>godfreydaniels</dc:creator>
      <dc:date>2017-05-25T12:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting a bar chart by two criteria in Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-a-bar-chart-by-two-criteria-in-Sense/m-p/1334370#M29199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Godfrey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have changed the name and made it clearly differential &lt;BR /&gt;Please find the below attachment and let me know if you still have issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindest Regards&lt;/P&gt;&lt;P&gt;Sibusiso&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 14:34:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-a-bar-chart-by-two-criteria-in-Sense/m-p/1334370#M29199</guid>
      <dc:creator>sibusiso90</dc:creator>
      <dc:date>2017-05-25T14:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting a bar chart by two criteria in Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-a-bar-chart-by-two-criteria-in-Sense/m-p/1334371#M29200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you--I can see what you did in this one.&amp;nbsp; It achieves the desired effect, but unfortunately can't be used in my case.&amp;nbsp; My sample app is just a proof-of-concept, but the real app would have hundreds of territories, so I will need to use a single measure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: I replied in the wrong place--this was meant as a reply to Sibusiso's second reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 17:05:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-a-bar-chart-by-two-criteria-in-Sense/m-p/1334371#M29200</guid>
      <dc:creator>godfreydaniels</dc:creator>
      <dc:date>2017-05-25T17:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting a bar chart by two criteria in Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-a-bar-chart-by-two-criteria-in-Sense/m-p/1334372#M29201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;You can use expection function e() to exclude the first few elements then you all the rest of the elements will be shown, will respond with an example in an hours time&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 17:52:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-a-bar-chart-by-two-criteria-in-Sense/m-p/1334372#M29201</guid>
      <dc:creator>sibusiso90</dc:creator>
      <dc:date>2017-05-25T17:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting a bar chart by two criteria in Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-a-bar-chart-by-two-criteria-in-Sense/m-p/1334373#M29202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi Godfrey&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;As promised please find the attached document for the idea I was talking about in the above comment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 May 2017 20:19:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-a-bar-chart-by-two-criteria-in-Sense/m-p/1334373#M29202</guid>
      <dc:creator>sibusiso90</dc:creator>
      <dc:date>2017-05-25T20:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting a bar chart by two criteria in Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-a-bar-chart-by-two-criteria-in-Sense/m-p/1334374#M29203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sibusiso,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an advantage to using the e() function: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum({&amp;lt;Relation_display3=e({&amp;lt;Relation_display3={'A','Nation'}&amp;gt;}Relation_display3)&amp;gt;}Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...over simply using the "not in" operator?&amp;nbsp; I.e.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum({&amp;lt;Relation_display3-={'A','Nation'}&amp;gt;}Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;René&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 18:01:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-a-bar-chart-by-two-criteria-in-Sense/m-p/1334374#M29203</guid>
      <dc:creator>plexpro52</dc:creator>
      <dc:date>2017-07-21T18:01:05Z</dc:date>
    </item>
  </channel>
</rss>

