<?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: Sort a bar chart based on 2 fields not already in the chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sort-a-bar-chart-based-on-2-fields-not-already-in-the-chart/m-p/1377229#M513704</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capturar.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/174499_Capturar.PNG" style="height: 359px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Aug 2017 11:00:22 GMT</pubDate>
    <dc:creator>Clever_Anjos</dc:creator>
    <dc:date>2017-08-24T11:00:22Z</dc:date>
    <item>
      <title>Sort a bar chart based on 2 fields not already in the chart</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-bar-chart-based-on-2-fields-not-already-in-the-chart/m-p/1377228#M513703</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;I am trying to sort a bar chart based on 2 fields - Week &amp;amp; Field. As you can see in the table below, it is sorted based on the fields Week &amp;amp; Field, of course I could achieve this because I included the two fields in the table (as expressions) and sorted. Here's my question - Is it possible to sort the bar chart just like in the table?&lt;/P&gt;&lt;P&gt;I've attached a sample qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/174510_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/174509_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 10:30:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-bar-chart-based-on-2-fields-not-already-in-the-chart/m-p/1377228#M513703</guid>
      <dc:creator>divya_anand</dc:creator>
      <dc:date>2017-08-24T10:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sort a bar chart based on 2 fields not already in the chart</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-bar-chart-based-on-2-fields-not-already-in-the-chart/m-p/1377229#M513704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capturar.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/174499_Capturar.PNG" style="height: 359px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 11:00:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-bar-chart-based-on-2-fields-not-already-in-the-chart/m-p/1377229#M513704</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2017-08-24T11:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sort a bar chart based on 2 fields not already in the chart</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-bar-chart-based-on-2-fields-not-already-in-the-chart/m-p/1377230#M513705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clever Anjos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the response.&lt;/P&gt;&lt;P&gt;This actually sorts based on the expression and not based on Week &amp;amp; Field.&lt;/P&gt;&lt;P&gt;If I changed the value of (Product=C, Week=4, Field=10) from 999 to 910, then the sorting changes in the chart&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/174511_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;But you see that the sorting in the table remains the same because the table has been sorted based on Week &amp;amp; Field, which I am looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 11:15:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-bar-chart-based-on-2-fields-not-already-in-the-chart/m-p/1377230#M513705</guid>
      <dc:creator>divya_anand</dc:creator>
      <dc:date>2017-08-24T11:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sort a bar chart based on 2 fields not already in the chart</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-bar-chart-based-on-2-fields-not-already-in-the-chart/m-p/1377231#M513706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sort using this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=FirstSortedValue(Week*1000 + Field, -Aggr(Sum(value), Product, Week, Field))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 11:52:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-bar-chart-based-on-2-fields-not-already-in-the-chart/m-p/1377231#M513706</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-24T11:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sort a bar chart based on 2 fields not already in the chart</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-a-bar-chart-based-on-2-fields-not-already-in-the-chart/m-p/1377232#M513707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 04:23:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-a-bar-chart-based-on-2-fields-not-already-in-the-chart/m-p/1377232#M513707</guid>
      <dc:creator>divya_anand</dc:creator>
      <dc:date>2017-08-28T04:23:19Z</dc:date>
    </item>
  </channel>
</rss>

