<?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: KPI - Color Condition Formatting Based upon an expression not working in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/KPI-Color-Condition-Formatting-Based-upon-an-expression-not/m-p/1663291#M49854</link>
    <description>&lt;P&gt;I think you can put single expression conditional color which compares the value with actual KPI expression automatically.&lt;/P&gt;&lt;P&gt;Let's say your KPI measure expression is&amp;nbsp; below&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;[IDate.autoCalendar.Year]={'$(vPriorYear2)'}&amp;gt;}IAmount)&lt;/P&gt;&lt;P&gt;Now in Appearance-&amp;gt;Color-&amp;gt;Add limit you can just put below expression. This will give you two different segment for which you can set two different color according to your requirement&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;[IDate.autoCalendar.Year]={'$(vPriorYear)'}&amp;gt;}IAmount)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jan 2020 13:49:25 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2020-01-07T13:49:25Z</dc:date>
    <item>
      <title>KPI - Color Condition Formatting Based upon an expression not working</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-Color-Condition-Formatting-Based-upon-an-expression-not/m-p/1663270#M49849</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a KPI and I would like to have following set for the Color - Expression Formula:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=IF(SUM({&amp;lt;[IDate.autoCalendar.Year]={'$(vPriorYear2)'}&amp;gt;}IAmount) &amp;gt;= SUM({&amp;lt;[IDate.autoCalendar.Year]={'$(vPriorYear)'}&amp;gt;}IAmount),.75,.25)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the Prior Year 2 IAmount is greater than the Prior Year IAMount, the color should be green, if not red.&lt;/P&gt;&lt;P&gt;The result is automatically defaulting to red, why ? thoughts ? Jerry&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KPI-Setting.JPG" style="width: 223px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/26452i69A9CB89F53DCF2A/image-size/large?v=v2&amp;amp;px=999" role="button" title="KPI-Setting.JPG" alt="KPI-Setting.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 07 Jan 2020 12:52:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-Color-Condition-Formatting-Based-upon-an-expression-not/m-p/1663270#M49849</guid>
      <dc:creator>jerryr125</dc:creator>
      <dc:date>2020-01-07T12:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: KPI - Color Condition Formatting Based upon an expression not working</title>
      <link>https://community.qlik.com/t5/App-Development/KPI-Color-Condition-Formatting-Based-upon-an-expression-not/m-p/1663291#M49854</link>
      <description>&lt;P&gt;I think you can put single expression conditional color which compares the value with actual KPI expression automatically.&lt;/P&gt;&lt;P&gt;Let's say your KPI measure expression is&amp;nbsp; below&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;[IDate.autoCalendar.Year]={'$(vPriorYear2)'}&amp;gt;}IAmount)&lt;/P&gt;&lt;P&gt;Now in Appearance-&amp;gt;Color-&amp;gt;Add limit you can just put below expression. This will give you two different segment for which you can set two different color according to your requirement&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;[IDate.autoCalendar.Year]={'$(vPriorYear)'}&amp;gt;}IAmount)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 13:49:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/KPI-Color-Condition-Formatting-Based-upon-an-expression-not/m-p/1663291#M49854</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-01-07T13:49:25Z</dc:date>
    </item>
  </channel>
</rss>

