<?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: Different traffic light bounds based on dimension value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Different-traffic-light-bounds-based-on-dimension-value/m-p/1105727#M898275</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect! Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Aug 2016 20:58:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-08-01T20:58:16Z</dc:date>
    <item>
      <title>Different traffic light bounds based on dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Different-traffic-light-bounds-based-on-dimension-value/m-p/1105725#M898273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to write some logic for a traffic light within one of my tables (below). Basically, I want to set different bounds for what defines red, yellow, and green for EE Paid, ER Paid, and Other. Specifically, EE Paid should be green if Column 3 is &amp;gt;= 0.32 and yellow if Column 3 is between 0.28 and 0.31, and red otherwise. ER Paid should be green if Column 3 is &amp;gt;=0.04, yellow if Column 3 is greater than 0.02 but less than 0.04, and red otherwise. Other should be the same bounds as ER paid. I have the below code, but it's not working. Thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="example.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/133217_example.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code for Bounds:&lt;/P&gt;&lt;P&gt;Red: 0&lt;/P&gt;&lt;P&gt;Yellow: if(Payer='EE Paid', 0.28, if(Payer='ER Paid', 0.03, 0.03))&lt;/P&gt;&lt;P&gt;Green: if(Payer='EE Paid', 0.32, if(Payer='ER Paid', 0.04, 0.04))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-traffic-light-bounds-based-on-dimension-value/m-p/1105725#M898273</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Different traffic light bounds based on dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Different-traffic-light-bounds-based-on-dimension-value/m-p/1105726#M898274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this the goal?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/133223_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Payer = 'EE Paid',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; If(Column3 &amp;lt; 0.28, 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_r.png',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; If(Column3 &amp;lt; 0.31, 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_y.png', 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_g.png')),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; If(Payer = 'ER Paid',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; If(Column3 &amp;lt; 0.02, 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_r.png',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; If(Column3 &amp;lt; 0.04, 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_y.png', 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_g.png'))))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 20:40:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-traffic-light-bounds-based-on-dimension-value/m-p/1105726#M898274</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-01T20:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: Different traffic light bounds based on dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Different-traffic-light-bounds-based-on-dimension-value/m-p/1105727#M898275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect! Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2016 20:58:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-traffic-light-bounds-based-on-dimension-value/m-p/1105727#M898275</guid>
      <dc:creator />
      <dc:date>2016-08-01T20:58:16Z</dc:date>
    </item>
  </channel>
</rss>

