<?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 Issues with plotting Traffic Signals using the Gauge chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issues-with-plotting-Traffic-Signals-using-the-Gauge-chart/m-p/1175394#M381584</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need help to plot a Gauge Chart using Traffic lights.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to display Red, Amber or Green based on the number of Services missing Threshold SLA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Red - if more than 2 services miss Threshold&lt;/P&gt;&lt;P&gt;Green - if no service misses Threshold&lt;/P&gt;&lt;P&gt;Amber - if 1 or 2 services miss Threshold&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Threshold values are present in the field &lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Theshold numeric] &lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CUSTOMER_IMPACT_MINS - outage mins&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MINS_IN_MON &lt;/SPAN&gt; - total system available mins&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence System availability = 1 - (CUSTOMER_IMPACT_MINS /&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MINS_IN_MON &lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have generated a table showing SLA availability for every service. The moment a service crosses a threshold the Traffic light colour needs to change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attaching my QV file. Can anybody please help as I dont know what expression to enter.. I used the below expression but it shows an error&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(1- (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CUSTOMER_IMPACT_MINS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MINS_IN_MON&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&amp;lt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Theshold numeric]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(1- (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CUSTOMER_IMPACT_MINS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MINS_IN_MON&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&amp;lt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Theshold numeric]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Service Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Aug 2016 06:51:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-08-26T06:51:00Z</dc:date>
    <item>
      <title>Issues with plotting Traffic Signals using the Gauge chart</title>
      <link>https://community.qlik.com/t5/QlikView/Issues-with-plotting-Traffic-Signals-using-the-Gauge-chart/m-p/1175394#M381584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need help to plot a Gauge Chart using Traffic lights.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to display Red, Amber or Green based on the number of Services missing Threshold SLA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Red - if more than 2 services miss Threshold&lt;/P&gt;&lt;P&gt;Green - if no service misses Threshold&lt;/P&gt;&lt;P&gt;Amber - if 1 or 2 services miss Threshold&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Threshold values are present in the field &lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Theshold numeric] &lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CUSTOMER_IMPACT_MINS - outage mins&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MINS_IN_MON &lt;/SPAN&gt; - total system available mins&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence System availability = 1 - (CUSTOMER_IMPACT_MINS /&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MINS_IN_MON &lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have generated a table showing SLA availability for every service. The moment a service crosses a threshold the Traffic light colour needs to change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attaching my QV file. Can anybody please help as I dont know what expression to enter.. I used the below expression but it shows an error&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(1- (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CUSTOMER_IMPACT_MINS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MINS_IN_MON&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&amp;lt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Theshold numeric]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(1- (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CUSTOMER_IMPACT_MINS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MINS_IN_MON&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&amp;lt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Theshold numeric]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Service Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 06:51:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issues-with-plotting-Traffic-Signals-using-the-Gauge-chart/m-p/1175394#M381584</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-26T06:51:00Z</dc:date>
    </item>
  </channel>
</rss>

