<?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: Date Range to produce Traffic Light in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Range-to-produce-Traffic-Light/m-p/881677#M307609</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume the reason is your used format for the times which is maybe not always the same and/or always numeric. Perhaps you could change it to another time-format, perhaps with 24 hours. But better is by all matchings and calculations from dates and times to use direct numeric values like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;num([Reconciliation Time]) &amp;lt; 0.5 // is 12:00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 May 2015 03:19:58 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2015-05-06T03:19:58Z</dc:date>
    <item>
      <title>Date Range to produce Traffic Light</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Range-to-produce-Traffic-Light/m-p/881674#M307606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a timestamp that I need to apply a 'stoplight' image to in a Straight table- not sure if its easier to apply an image or change the expression to a Traffic Light Guage- either will work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Field &amp;amp; Data:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Reconciliation Time = '10:00 AM CT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Stoplight Criteria&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;12:00 PM CT = &lt;SPAN style="color: #339966;"&gt;&lt;STRONG style="color: #000000;"&gt;Green&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;12:00 PM CT and &amp;lt;2:00 pm CT = &lt;STRONG style=": ; color: #000000;"&gt;Yellow&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;2:00 pm CT = &lt;STRONG style="color: #000000;"&gt;Red&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression is delivering the Green and Red,some of the Yellow, but not all the Yellow.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;=if([Reconcilation Time]&amp;lt;'12:00 PM CT','qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_g.png',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;if([Reconcilation Time]&amp;gt;'12:00 PM CT'and [Reconcilation Time]&amp;lt;'2:00 PM CT','qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_y.png',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;if([Reconcilation Time]&amp;gt;'2:00 PM CT','qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_r.png')))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;&lt;IMG alt="Picture1.jpg" class="jive-image image-1" height="238" src="https://community.qlik.com/legacyfs/online/85716_Picture1.jpg" style="height: 237.804878048781px; width: 390px;" width="390" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I not sure how to configure a Traffic Light Guage to render the same results&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;&lt;SPAN style="color: #000000;"&gt;Dan&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 17:46:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Range-to-produce-Traffic-Light/m-p/881674#M307606</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-05T17:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range to produce Traffic Light</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Range-to-produce-Traffic-Light/m-p/881675#M307607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you replaced within the if-loop the returning from qmem-pictures with 0, 1, 2 you could use them for gauge-segments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 18:32:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Range-to-produce-Traffic-Light/m-p/881675#M307607</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-05-05T18:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range to produce Traffic Light</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Range-to-produce-Traffic-Light/m-p/881676#M307608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got it switched over to a gauge -segments,- thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it is still seeing '&lt;EM&gt;1:00&amp;nbsp; PM CT&lt;/EM&gt;' as a &lt;STRONG&gt;0&lt;/STRONG&gt; and applying the Green light.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 18:50:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Range-to-produce-Traffic-Light/m-p/881676#M307608</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-05T18:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range to produce Traffic Light</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Range-to-produce-Traffic-Light/m-p/881677#M307609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume the reason is your used format for the times which is maybe not always the same and/or always numeric. Perhaps you could change it to another time-format, perhaps with 24 hours. But better is by all matchings and calculations from dates and times to use direct numeric values like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;num([Reconciliation Time]) &amp;lt; 0.5 // is 12:00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 03:19:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Range-to-produce-Traffic-Light/m-p/881677#M307609</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-05-06T03:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range to produce Traffic Light</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Range-to-produce-Traffic-Light/m-p/881678#M307610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DataNibbler,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it could be that the restriction is on the variable itself and not on the inputbox like the OneAndOnlyOne option for the listbox which restricted the field and not the listbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I seems that your task it's quite difficult. Maybe you could two different variables for the user input and a third one decided which wille be applied. Or if your user use the IE or the fat-client you could try to manipulate the user input with macros, perhaps in this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set v = ActiveDocument.Variables("Variable1")&lt;/P&gt;&lt;P&gt;v.ForceContent "123",123&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 13:26:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Range-to-produce-Traffic-Light/m-p/881678#M307610</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-05-08T13:26:00Z</dc:date>
    </item>
  </channel>
</rss>

