<?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 Bar chart color by expression per variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bar-chart-color-by-expression-per-variable/m-p/1947486#M1219618</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have created a bar chart containing the sales per week. What I'm trying to do is to let the individuals bars be red when sales &amp;lt; budget and green when Sales &amp;gt; budget. In Qlik sense I have set the Y-axis color on the following expression:&lt;/P&gt;
&lt;P&gt;=if((sum([Budget])&amp;lt;sum([Sales])),red(),green())&lt;/P&gt;
&lt;P&gt;Subsequently Qlik shows all bars in the same color since it compares the revenue and budget on aggregated total level in stead of the individual weeks.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone have a solution how I can set the expression for each week separately?&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jun 2022 14:53:26 GMT</pubDate>
    <dc:creator>robintw</dc:creator>
    <dc:date>2022-06-23T14:53:26Z</dc:date>
    <item>
      <title>Bar chart color by expression per variable</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-color-by-expression-per-variable/m-p/1947486#M1219618</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have created a bar chart containing the sales per week. What I'm trying to do is to let the individuals bars be red when sales &amp;lt; budget and green when Sales &amp;gt; budget. In Qlik sense I have set the Y-axis color on the following expression:&lt;/P&gt;
&lt;P&gt;=if((sum([Budget])&amp;lt;sum([Sales])),red(),green())&lt;/P&gt;
&lt;P&gt;Subsequently Qlik shows all bars in the same color since it compares the revenue and budget on aggregated total level in stead of the individual weeks.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone have a solution how I can set the expression for each week separately?&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 14:53:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-color-by-expression-per-variable/m-p/1947486#M1219618</guid>
      <dc:creator>robintw</dc:creator>
      <dc:date>2022-06-23T14:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Bar chart color by expression per variable</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-chart-color-by-expression-per-variable/m-p/1948046#M1219638</link>
      <description>&lt;P&gt;Please provide some sample data or the QVW file for reference.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2022 18:43:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-chart-color-by-expression-per-variable/m-p/1948046#M1219638</guid>
      <dc:creator>sk88024</dc:creator>
      <dc:date>2022-06-24T18:43:47Z</dc:date>
    </item>
  </channel>
</rss>

