<?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: Stacked Bar Chart - multicolor in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Stacked-Bar-Chart-multicolor/m-p/1784423#M1209862</link>
    <description>&lt;P&gt;Thank you very much&amp;nbsp;&lt;FONT size="2"&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593"&gt;@rubenmarin&lt;/a&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 20 Feb 2021 23:23:34 GMT</pubDate>
    <dc:creator>unkisoN</dc:creator>
    <dc:date>2021-02-20T23:23:34Z</dc:date>
    <item>
      <title>Stacked Bar Chart - multicolor</title>
      <link>https://community.qlik.com/t5/QlikView/Stacked-Bar-Chart-multicolor/m-p/1784274#M1209845</link>
      <description>&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;Following Tables are available:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;F1, F2, F3, F4, F5, F6&lt;BR /&gt;Impl_Year, Impl_Number, SalesPerson, ItemCode, Forecast&lt;BR /&gt;2018, 2018_01, John, 100101, 25000&lt;BR /&gt;2018, 2018_02, Boris, 100102, n.a.&lt;BR /&gt;2018, 2018_03, Pablo, 100103, 20000&lt;BR /&gt;2019, 2019_01, John, 100104, 15000&lt;BR /&gt;2019, 2019_02, Boris, 100105, n.a.&lt;BR /&gt;2019, 2019_03, Pablo, 100106, 7500&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;F1, F2, F3, F4, F5&lt;BR /&gt;PostingDate, ItemCode, InvoiceNumber, Amount, InvoiceType&lt;BR /&gt;01.01.2018, 100101, INV_01, 1550, 1&lt;BR /&gt;01.01.2018, 100101, INV_02, 30000, 2&lt;BR /&gt;01.01.2018, 100102, INV_03, 25000, 1&lt;BR /&gt;01.06.2018, 100102, INV_04, 18555, 2&lt;BR /&gt;01.06.2018, 100102, INV_05, 33445, 1&lt;BR /&gt;01.06.2018, 100103, INV_06, 25222, 2&lt;BR /&gt;01.06.2018, 100104, INV_07, 1520, 1&lt;BR /&gt;01.03.2019, 100106, INV_08, 1521, 2&lt;BR /&gt;01.03.2019, 100105, INV_09, 14582, 1&lt;BR /&gt;01.03.2019, 100103, INV_10, 12345, 2&lt;BR /&gt;01.03.2019, 100105, INV_11, 455, 1&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a pivot table with the following expressions and it works perfect so far.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expression(Amount):&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt; InvoiceType-={1}&amp;gt;} Amount&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expression (Fullfillment):&lt;BR /&gt;if(Forecast = 'n.a.', 'no forecast',&lt;BR /&gt;(Sum({$&amp;lt; InvoiceType-={1}&amp;gt;} Amount)/Forecast))&lt;/P&gt;&lt;P&gt;Expression (Classification):&lt;BR /&gt;if(Fullfillment= 'no forecast', 'no forecast',&lt;BR /&gt;if(Fullfillment &amp;gt; 1.50, '&amp;gt;150',&lt;BR /&gt;if(Fullfillment &amp;gt; 1.10, '110-150',&lt;BR /&gt;if(Fullfillment &amp;gt; 0.90, '90-110',&lt;BR /&gt;if(Fullfillment &amp;gt;= 0.50, '50-90', '&amp;lt;50')))))&lt;/P&gt;&lt;P&gt;Background Color:&lt;BR /&gt;if(Fullfillment= 'no forecast', RGB(191, 191, 191),&lt;BR /&gt;if(Fullfillment &amp;gt; 1.50, RGB(0,102,255),&lt;BR /&gt;if(Fullfillment &amp;gt; 1.10, RGB(0,176,80),&lt;BR /&gt;if(Fullfillment &amp;gt; 0.90, RGB(146,208,80),&lt;BR /&gt;if(Fullfillment &amp;gt;= 0.50, RGB(255,192,0), RGB(255,0,0))))))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Problem for me now:&lt;/P&gt;&lt;P&gt;I have to create the same Information as a Chart Bar and should look like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="unkisoN_0-1613751679287.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/49458iC0EE6D7FFEEF44D3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="unkisoN_0-1613751679287.png" alt="unkisoN_0-1613751679287.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is the part where i am struggling right now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If have different Views, but i think if i can figure this one out, the rest would be easy for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2021 16:22:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stacked-Bar-Chart-multicolor/m-p/1784274#M1209845</guid>
      <dc:creator>unkisoN</dc:creator>
      <dc:date>2021-02-19T16:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked Bar Chart - multicolor</title>
      <link>https://community.qlik.com/t5/QlikView/Stacked-Bar-Chart-multicolor/m-p/1784380#M1209855</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/129958"&gt;@unkisoN&lt;/a&gt;, sample attached, this won't give good performance with too many data, but with few data can work.&lt;/P&gt;&lt;P&gt;To improve performance you can try to precalculate in script, some improvements may also be made without rquiring script precalculations, but first try if it works like this.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Feb 2021 09:17:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stacked-Bar-Chart-multicolor/m-p/1784380#M1209855</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2021-02-20T09:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked Bar Chart - multicolor</title>
      <link>https://community.qlik.com/t5/QlikView/Stacked-Bar-Chart-multicolor/m-p/1784423#M1209862</link>
      <description>&lt;P&gt;Thank you very much&amp;nbsp;&lt;FONT size="2"&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22593"&gt;@rubenmarin&lt;/a&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Feb 2021 23:23:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stacked-Bar-Chart-multicolor/m-p/1784423#M1209862</guid>
      <dc:creator>unkisoN</dc:creator>
      <dc:date>2021-02-20T23:23:34Z</dc:date>
    </item>
  </channel>
</rss>

