<?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: Chart colors based on calculated dimension value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-colors-based-on-calculated-dimension-value/m-p/130637#M19680</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this, in your Background Color area of the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(IsNull(EOLDate) OR (DateSelected &amp;lt; EOLDate), Green(), if(DateSelected &amp;lt; EOVSDate, Yellow(), Red()))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Aug 2018 13:01:57 GMT</pubDate>
    <dc:creator>BalaBhaskar_Qlik</dc:creator>
    <dc:date>2018-08-29T13:01:57Z</dc:date>
    <item>
      <title>Chart colors based on calculated dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-colors-based-on-calculated-dimension-value/m-p/130634#M19677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is wrt a bar chart I am looking at. &lt;/P&gt;&lt;P&gt;I have a calculated dimension as :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(EOLDate = ' ', 'Current', if(DateSelected &amp;lt; EOLDate, 'Current', if(DateSelected &amp;lt; EOVSDate, 'EOL', 'EOVS')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression is : &lt;/P&gt;&lt;P&gt;=Count(if(EOLDate = ' ', 'Current', if(DateSelected &amp;lt; EOLDate, 'Current', if(DateSelected &amp;lt; EOVSDate, 'EOL', 'EOVS'))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my graph , i have 3 bars , 1 for Current , 1 for EOL and 1 for EOVS&lt;/P&gt;&lt;P&gt;I want these colors for the bars : &lt;/P&gt;&lt;P&gt;'Current' -&amp;gt; Green &lt;/P&gt;&lt;P&gt;'EOL' -&amp;gt; Yellow&lt;/P&gt;&lt;P&gt;'EOVS' -&amp;gt; Red&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unable to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 09:47:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-colors-based-on-calculated-dimension-value/m-p/130634#M19677</guid>
      <dc:creator>swati_rastogi27</dc:creator>
      <dc:date>2018-08-29T09:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Chart colors based on calculated dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-colors-based-on-calculated-dimension-value/m-p/130635#M19678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest to create 3 Measures in Master for Current, EOL, EOVS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There you can directly assign colors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else try,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(EOLDate = ' ', red(), if(DateSelected &amp;lt; EOLDate, red(), if(DateSelected &amp;lt; EOVSDate,green(), yellow())))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 09:57:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-colors-based-on-calculated-dimension-value/m-p/130635#M19678</guid>
      <dc:creator>shraddha_g</dc:creator>
      <dc:date>2018-08-29T09:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Chart colors based on calculated dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-colors-based-on-calculated-dimension-value/m-p/130636#M19679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;This expression is not working. It assigns Yellow to all the 3 bars&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(EOLDate = ' ', red(), if(DateSelected &amp;lt; EOLDate, red(), if(DateSelected &amp;lt; EOVSDate,green(), yellow())))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 11:02:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-colors-based-on-calculated-dimension-value/m-p/130636#M19679</guid>
      <dc:creator>swati_rastogi27</dc:creator>
      <dc:date>2018-08-29T11:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Chart colors based on calculated dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-colors-based-on-calculated-dimension-value/m-p/130637#M19680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this, in your Background Color area of the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(IsNull(EOLDate) OR (DateSelected &amp;lt; EOLDate), Green(), if(DateSelected &amp;lt; EOVSDate, Yellow(), Red()))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 13:01:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-colors-based-on-calculated-dimension-value/m-p/130637#M19680</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-08-29T13:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Chart colors based on calculated dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-colors-based-on-calculated-dimension-value/m-p/130638#M19681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately this is setting all 3 bars to green&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 13:51:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-colors-based-on-calculated-dimension-value/m-p/130638#M19681</guid>
      <dc:creator>swati_rastogi27</dc:creator>
      <dc:date>2018-08-29T13:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Chart colors based on calculated dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-colors-based-on-calculated-dimension-value/m-p/130639#M19682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Len(Trim(EOLDate)) = 0 OR DateSelected &amp;lt; EOLDate, red(),&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if(DateSelected &amp;lt; EOVSDate, green(), yellow()))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 14:23:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-colors-based-on-calculated-dimension-value/m-p/130639#M19682</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-08-29T14:23:13Z</dc:date>
    </item>
  </channel>
</rss>

