<?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: change color conditional in chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/change-color-conditional-in-chart/m-p/303221#M583542</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;The Solution, with the help of Community Collegus from another similar topic.see attached ap&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;The Formula which solved the problem was:&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;DIV&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ONLY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DSS_DATE.AP&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DSS_DATE.F_YEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DSS_DATE.AP_KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MAX&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DSS_DATE.AP_KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), '&amp;lt;S1&amp;gt;','&amp;lt;S3&amp;gt;') &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Nov 2011 16:55:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-11-08T16:55:05Z</dc:date>
    <item>
      <title>change color conditional in chart</title>
      <link>https://community.qlik.com/t5/QlikView/change-color-conditional-in-chart/m-p/303211#M583532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;I want change color if selected Accounting Period (AP)&amp;nbsp; is greater than current AP in Chart, but my implementation does not work, in the graphik example it should change from yellow to red if AP_KEY is greater or equal 27, see example app.&lt;BR /&gt;Background color property of expression: &lt;SPAN style="font-size: 8pt;"&gt;&lt;DIV&gt;=&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DSS_DATE.AP_KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=DSS_DATE.AP_KEY)&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt; &lt;/EM&gt;&lt;SPAN style="color: #808080; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Red&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Yellow&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 09:52:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/change-color-conditional-in-chart/m-p/303211#M583532</guid>
      <dc:creator />
      <dc:date>2011-11-08T09:52:07Z</dc:date>
    </item>
    <item>
      <title>change color conditional in chart</title>
      <link>https://community.qlik.com/t5/QlikView/change-color-conditional-in-chart/m-p/303212#M583533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why not adding the 27 in the if-expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(DSS_DATE.AP_KEY &amp;gt;= 27, Red(), Yellow())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 10:00:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/change-color-conditional-in-chart/m-p/303212#M583533</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-08T10:00:04Z</dc:date>
    </item>
    <item>
      <title>change color conditional in chart</title>
      <link>https://community.qlik.com/t5/QlikView/change-color-conditional-in-chart/m-p/303213#M583534</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;Why don't you add new expression: =$(=DSS_DATE.AP_KEY)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 10:00:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/change-color-conditional-in-chart/m-p/303213#M583534</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2011-11-08T10:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: change color conditional in chart</title>
      <link>https://community.qlik.com/t5/QlikView/change-color-conditional-in-chart/m-p/303214#M583535</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;You can give a label to your expression (I use Test) then try in background: =IF([Test]&amp;gt;=$(=DSS_DATE.AP_KEY),Red(),Yellow())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: See the sample attached file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 10:03:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/change-color-conditional-in-chart/m-p/303214#M583535</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2011-11-08T10:03:55Z</dc:date>
    </item>
    <item>
      <title>change color conditional in chart</title>
      <link>https://community.qlik.com/t5/QlikView/change-color-conditional-in-chart/m-p/303215#M583536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DSS_DATE.AP_KEY=&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DSS_DATE.AP_KEY or&amp;nbsp; &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DSS_DATE.AP_KEY=only(&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DSS_DATE.AP_KEY)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;then use following&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DSS_DATE.AP_KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(DSS_DATE.AP_KEY)&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt; &lt;/EM&gt;&lt;SPAN style="color: #808080; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Red&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Yellow&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 10:04:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/change-color-conditional-in-chart/m-p/303215#M583536</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2011-11-08T10:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: change color conditional in chart</title>
      <link>https://community.qlik.com/t5/QlikView/change-color-conditional-in-chart/m-p/303216#M583537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good approach, but same effect, it does not work. I added a new example, any the funny thing ist ,the color does change but only if the Chart AP_Key ist equal $(vAP_KEY) but it should change color for all rows if AP_KEY is&amp;nbsp; GREATER OR EQUAL THAN $(vAP_KEY) &lt;BR /&gt;see new example, I have no clue what I am doing wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 11:14:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/change-color-conditional-in-chart/m-p/303216#M583537</guid>
      <dc:creator />
      <dc:date>2011-11-08T11:14:12Z</dc:date>
    </item>
    <item>
      <title>change color conditional in chart</title>
      <link>https://community.qlik.com/t5/QlikView/change-color-conditional-in-chart/m-p/303217#M583538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi uweh,&lt;/P&gt;&lt;P&gt;Remove the background color expression for expression, and go to the visual clues tab in Properties,&lt;/P&gt;&lt;P&gt;Give $(vAP_KEY) in "Upper &amp;gt;= " text box and select Red as background color.&lt;/P&gt;&lt;P&gt;Similarly Give ($(vAP_KEY) -1) in "Lower &amp;lt;=" text box and select Yellow color as background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 11:43:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/change-color-conditional-in-chart/m-p/303217#M583538</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2011-11-08T11:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: change color conditional in chart</title>
      <link>https://community.qlik.com/t5/QlikView/change-color-conditional-in-chart/m-p/303218#M583539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan, also a good approach, but unfortunately I need it in my real application for a Graph-Chart and I want set the line dotted or not, the expression in the line-style property will then be:&lt;BR /&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;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DSS_DATE.AP_KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=DSS_DATE.AP_KEY)&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt; &lt;/EM&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'&amp;lt;S1&amp;gt;', '&amp;lt;S3&amp;gt;') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;instead of Background color.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 11:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/change-color-conditional-in-chart/m-p/303218#M583539</guid>
      <dc:creator />
      <dc:date>2011-11-08T11:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: change color conditional in chart</title>
      <link>https://community.qlik.com/t5/QlikView/change-color-conditional-in-chart/m-p/303219#M583540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sokkorn,&lt;BR /&gt; I forgot to mention that it depends on the Time and not on the content of the value, say if the date (AP) is higher then the choosen Date, then I need to mark (in the example background color, in the&amp;nbsp; real App a dotted line instead a normal line) , that means it is a forecast-value and not a demand-value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 11:59:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/change-color-conditional-in-chart/m-p/303219#M583540</guid>
      <dc:creator />
      <dc:date>2011-11-08T11:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: change color conditional in chart</title>
      <link>https://community.qlik.com/t5/QlikView/change-color-conditional-in-chart/m-p/303220#M583541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I have the feeling I am really close, in the example you cann see if I chosse more than one AP, let say AP 4-8&lt;BR /&gt;the the lin is dotted or the background is red.&lt;BR /&gt;What I need is the User only selects one AP, lets say AP = 4 and the dotted line or the background color is dotted resp. red for AP4 until endless (AP4 to AP12 in my case)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 12:16:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/change-color-conditional-in-chart/m-p/303220#M583541</guid>
      <dc:creator />
      <dc:date>2011-11-08T12:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: change color conditional in chart</title>
      <link>https://community.qlik.com/t5/QlikView/change-color-conditional-in-chart/m-p/303221#M583542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;The Solution, with the help of Community Collegus from another similar topic.see attached ap&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;The Formula which solved the problem was:&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;DIV&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ONLY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DSS_DATE.AP&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DSS_DATE.F_YEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DSS_DATE.AP_KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MAX&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DSS_DATE.AP_KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), '&amp;lt;S1&amp;gt;','&amp;lt;S3&amp;gt;') &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 16:55:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/change-color-conditional-in-chart/m-p/303221#M583542</guid>
      <dc:creator />
      <dc:date>2011-11-08T16:55:05Z</dc:date>
    </item>
  </channel>
</rss>

