<?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 Traffic Light Conditional Statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Traffic-Light-Conditional-Statement/m-p/195210#M55809</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having trouble getting my traffic light to display colors properly based on an IF condition&lt;/P&gt;&lt;P&gt;I would like the light to turn green if the actual/budget is greater than 85% and red if it's below 75%. Below is what I tried to make work.&lt;/P&gt;&lt;P&gt;if((Sum([Amount Actual])/Sum([Amount Budget]))&amp;gt;=.85,1&lt;BR /&gt;if(Sum([Amount Actual]/sum([Amount Budget])&amp;lt;.75,3,2)&lt;/P&gt;&lt;P&gt;Comments please!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Apr 2011 18:52:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-01T18:52:37Z</dc:date>
    <item>
      <title>Traffic Light Conditional Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Traffic-Light-Conditional-Statement/m-p/195210#M55809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having trouble getting my traffic light to display colors properly based on an IF condition&lt;/P&gt;&lt;P&gt;I would like the light to turn green if the actual/budget is greater than 85% and red if it's below 75%. Below is what I tried to make work.&lt;/P&gt;&lt;P&gt;if((Sum([Amount Actual])/Sum([Amount Budget]))&amp;gt;=.85,1&lt;BR /&gt;if(Sum([Amount Actual]/sum([Amount Budget])&amp;lt;.75,3,2)&lt;/P&gt;&lt;P&gt;Comments please!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2011 18:52:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Traffic-Light-Conditional-Statement/m-p/195210#M55809</guid>
      <dc:creator />
      <dc:date>2011-04-01T18:52:37Z</dc:date>
    </item>
    <item>
      <title>Traffic Light Conditional Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Traffic-Light-Conditional-Statement/m-p/195211#M55810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can only check syntax, not the logic... You have two closing parenthesis missing (bold):&lt;/P&gt;&lt;P&gt;if((Sum([Amount Actual])/Sum([Amount Budget]))&amp;gt;=.85,1&lt;BR /&gt;if(Sum([Amount Actual]&lt;STRONG&gt;)&lt;/STRONG&gt;/sum([Amount Budget])&amp;lt;.75,3,2)&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2011 20:04:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Traffic-Light-Conditional-Statement/m-p/195211#M55810</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-01T20:04:48Z</dc:date>
    </item>
  </channel>
</rss>

