<?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 Calculated Expression? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sort-by-Calculated-Expression/m-p/77#M793805</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;Hoping for some guidance.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have a set of bar charts that each show a stacked bar that contains a set of defined expressions. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;eg: &lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;[4th Place]&lt;/SPAN&gt;={'All Things'}&amp;gt;}(&lt;SPAN style="color: #800000;"&gt;[4thThere]&lt;/SPAN&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;What I would like to happen is for when I select a defined element (eg Month) that it alters the order of the chart so that the largest numbered section is at the bottom. At the moment it retains everything in the order that is shown in the 'Expressions' Tab.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/189896_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/189897_pastedImage_3.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>peterderrington</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Sort by Calculated Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-by-Calculated-Expression/m-p/77#M793805</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;Hoping for some guidance.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I have a set of bar charts that each show a stacked bar that contains a set of defined expressions. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;eg: &lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;[4th Place]&lt;/SPAN&gt;={'All Things'}&amp;gt;}(&lt;SPAN style="color: #800000;"&gt;[4thThere]&lt;/SPAN&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;What I would like to happen is for when I select a defined element (eg Month) that it alters the order of the chart so that the largest numbered section is at the bottom. At the moment it retains everything in the order that is shown in the 'Expressions' Tab.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/189896_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/189897_pastedImage_3.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&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-by-Calculated-Expression/m-p/77#M793805</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sort by Calculated Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-by-Calculated-Expression/m-p/78#M793806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you can create a fake dimension with Valuelist() and have only one expression.&lt;/P&gt;&lt;P&gt;So you can use that expression under Sort tab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2018 12:03:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-by-Calculated-Expression/m-p/78#M793806</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2018-01-12T12:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sort by Calculated Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-by-Calculated-Expression/m-p/79#M793807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample to try this out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2018 12:17:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-by-Calculated-Expression/m-p/79#M793807</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-12T12:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sort by Calculated Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-by-Calculated-Expression/m-p/80#M793808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I'm not quite sure how I would do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you explain a little bit for me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2018 12:18:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-by-Calculated-Expression/m-p/80#M793808</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2018-01-12T12:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sort by Calculated Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-by-Calculated-Expression/m-p/81#M793809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add ValueList('Exp1','Exp2') as dimension&lt;/P&gt;&lt;P&gt;Create one expression like&lt;/P&gt;&lt;P&gt;If(Valuelist('Exp1','Exp2') = 'Exp1',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(Expression1),&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If(Valuelist('Exp1','Exp2') = 'Exp2',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt; Sum(Expression2)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;))&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2018 12:24:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-by-Calculated-Expression/m-p/81#M793809</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2018-01-12T12:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sort by Calculated Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-by-Calculated-Expression/m-p/82#M793810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is a small example of the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st Graph:&lt;/P&gt;&lt;P&gt;Used Dimensions: 1stPlace&lt;/P&gt;&lt;P&gt;Expression 'General' - &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[1st Place Speciality]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'General'}&amp;gt;}(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[1stPlace]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd Graph:&lt;/P&gt;&lt;P&gt;Used Dimensions: 2ndPlace&lt;/P&gt;&lt;P&gt;Expression 'General' - &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[2nd Place Speciality]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'General'}&amp;gt;}(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[2ndPlace]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then theres obviously lots of other expressions showing the other elements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2018 12:43:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-by-Calculated-Expression/m-p/82#M793810</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2018-01-12T12:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sort by Calculated Expression?</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-by-Calculated-Expression/m-p/83#M793811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I'm obviously having a slow day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand how that would work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2018 14:16:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-by-Calculated-Expression/m-p/83#M793811</guid>
      <dc:creator>peterderrington</dc:creator>
      <dc:date>2018-01-12T14:16:27Z</dc:date>
    </item>
  </channel>
</rss>

