<?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: Traffic light gauge in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Traffic-light-gauge/m-p/645768#M236730</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can add an expression to your chart like:&lt;/P&gt;&lt;P&gt;if(Status='complete', 0, 0.5)&lt;/P&gt;&lt;P&gt;and set the expression representation to Traffic Light. Go into the gauge settings to get it the way you want it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think an easier way is to use images using the QV built-in images.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;=if(Status='complete&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;,'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_g.png'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;,'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_r.png'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set the expression representation to "Image" and you are done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jul 2014 22:03:59 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2014-07-09T22:03:59Z</dc:date>
    <item>
      <title>Traffic light gauge</title>
      <link>https://community.qlik.com/t5/QlikView/Traffic-light-gauge/m-p/645761#M236723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to list tasks and the status of tasks in a table. the status of each task is either complete or not complete.&lt;/P&gt;&lt;P&gt;I want to have the traffic light gauge in a table next to the list of each task. if its complete it should be green if its not complete it should be red&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 19:49:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Traffic-light-gauge/m-p/645761#M236723</guid>
      <dc:creator />
      <dc:date>2014-07-09T19:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Traffic light gauge</title>
      <link>https://community.qlik.com/t5/QlikView/Traffic-light-gauge/m-p/645762#M236724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in your qlikview installation folder (mine is C:\Program Files\QlikView\Examples\Documents), search for Data Visualization.qvw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You find in tab KPI a traffic&amp;nbsp; light gauge, just copy it and adapt to your requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/62108_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 19:54:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Traffic-light-gauge/m-p/645762#M236724</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-07-09T19:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Traffic light gauge</title>
      <link>https://community.qlik.com/t5/QlikView/Traffic-light-gauge/m-p/645763#M236725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I think that in this case, the easiest solution is to use tab "Visual Cues" in Chart Properties. I prefer to work with numbers in this situation, so you can add new field if the "status field" is text. You can try with ApplyMap or IF functions to insert numbers for example 0 - Not Complete 1 - Complete , and 2 - Others (Errors) . This will help you to clean your database.&lt;/P&gt;&lt;P&gt;This is solution for Pivot or Straight Tables but there are most useful in this cases when you have a lot of orders and invoices and you want know what is the status.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 20:14:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Traffic-light-gauge/m-p/645763#M236725</guid>
      <dc:creator />
      <dc:date>2014-07-09T20:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Traffic light gauge</title>
      <link>https://community.qlik.com/t5/QlikView/Traffic-light-gauge/m-p/645764#M236726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is very helpful thanks but can you be more specific on how to "work with numbers in this situation" I am new to qlikview and I don't know how to use/find applymap or if functions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 20:29:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Traffic-light-gauge/m-p/645764#M236726</guid>
      <dc:creator />
      <dc:date>2014-07-09T20:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Traffic light gauge</title>
      <link>https://community.qlik.com/t5/QlikView/Traffic-light-gauge/m-p/645765#M236727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok. &lt;/P&gt;&lt;P&gt;I mean to create new field in the script , the script has to be something like that: :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;........&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Status, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF (Status = 'NonComplete' , 0, IF(Status = 'Complete', 1, 2 )) as NewField &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;........ &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&amp;nbsp; ABC.qvd &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;With this "NewField" you can work easier because the numeric fields are better for work in QlikView.&lt;/P&gt;&lt;P&gt;If you have some fields with value 2, you have errors in the database, because this fields are not 'Complete' or 'NotComplete'.&lt;/P&gt;&lt;P&gt;Also, when this field is numeric you can easier use Visual Cues.&lt;/P&gt;&lt;P&gt;You have to add this field like a expression, because Visual Cues work with expression. If doesn't work correctly add sum or the expression has to look like that sum(NewField) . After that everything it will be Ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this is the best solution for you at this time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venelin &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 21:20:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Traffic-light-gauge/m-p/645765#M236727</guid>
      <dc:creator />
      <dc:date>2014-07-09T21:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Traffic light gauge</title>
      <link>https://community.qlik.com/t5/QlikView/Traffic-light-gauge/m-p/645766#M236728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want numeric values to use in Visual Cues, there is no need define an additional field. Instead create the field as a dual() in the script -- with both a string and numeric value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For an example of using a Dual() with Visual Cues, see&lt;/P&gt;&lt;P&gt;&lt;A href="http://qlikviewnotes.blogspot.com/2014/04/performance-tip-using-dual-and-chart.html" title="http://qlikviewnotes.blogspot.com/2014/04/performance-tip-using-dual-and-chart.html"&gt;Qlikview Notes: Performance Tip - Using Dual() and Chart Visual Cues&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 21:50:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Traffic-light-gauge/m-p/645766#M236728</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-07-09T21:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Traffic light gauge</title>
      <link>https://community.qlik.com/t5/QlikView/Traffic-light-gauge/m-p/645767#M236729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt; .&amp;nbsp; &lt;/P&gt;&lt;P&gt;It's look like faster &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 21:57:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Traffic-light-gauge/m-p/645767#M236729</guid>
      <dc:creator />
      <dc:date>2014-07-09T21:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Traffic light gauge</title>
      <link>https://community.qlik.com/t5/QlikView/Traffic-light-gauge/m-p/645768#M236730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can add an expression to your chart like:&lt;/P&gt;&lt;P&gt;if(Status='complete', 0, 0.5)&lt;/P&gt;&lt;P&gt;and set the expression representation to Traffic Light. Go into the gauge settings to get it the way you want it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think an easier way is to use images using the QV built-in images.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;=if(Status='complete&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;,'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_g.png'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;,'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_r.png'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set the expression representation to "Image" and you are done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 22:03:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Traffic-light-gauge/m-p/645768#M236730</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-07-09T22:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Traffic light gauge</title>
      <link>https://community.qlik.com/t5/QlikView/Traffic-light-gauge/m-p/645769#M236731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very helpful post!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 14:45:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Traffic-light-gauge/m-p/645769#M236731</guid>
      <dc:creator />
      <dc:date>2015-04-30T14:45:39Z</dc:date>
    </item>
  </channel>
</rss>

