<?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: Dynamic Gauge Segments in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-Gauge-Segments/m-p/397472#M569157</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sampath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use a Button and give the expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr([Amber Targ], [KPI No], [KPI Desc])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr([Green Targ], [KPI No], [KPI Desc])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then see what they evaluate to, the result will get displayed on the button. Also if you hardcode the values for segments, it must show you what you are expecting. So you can test both ways and see whats failing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Rajesh Vaswani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Nov 2012 15:16:02 GMT</pubDate>
    <dc:creator>rajeshvaswani77</dc:creator>
    <dc:date>2012-11-02T15:16:02Z</dc:date>
    <item>
      <title>Dynamic Gauge Segments</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Gauge-Segments/m-p/397471#M569156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have bee trying to assign dynamic Gauge Segments in a Table expression. I got a few Indicators and unfortunately they have different RAG rating points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KPI - 1 RAG rating points are 0%-79%=RED, 80%-89%=AMBER, 90%-100%=GREEN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KPI - 1 RAG rating points are 0%-96%=RED,&amp;nbsp; 97%-99%=AMBER, 100%=GREEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has trhe following table structure. Target table has all the necessary RAG point data for each Indicator (KPI)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="24550" class="jive-image" alt="QV1.JPG" src="https://community.qlik.com/legacyfs/online/24550_QV1.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oroginally I though just assigning the [Amber Targ] and the [Green Targ] to each segment in the Gauge will atomatically get the relevent numbers based on each indicator and the Indicator number and the Indicator Description are the dimentions in the table. BUt I was getting all green Gauge without any segments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I used the follwing script for each segment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REG - Segment 1 = 0&lt;/P&gt;&lt;P&gt;AMBER - Segement 2 = Aggr([Amber Targ], [KPI No], [KPI Desc])&lt;/P&gt;&lt;P&gt;GREEN = Segment 3 = Aggr([Green Targ], [KPI No], [KPI Desc])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still I am getting just green Gauge without any segments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be much appreciated. I have attache the test file if you want to have a look and feel free to edit if necessary&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 15:11:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Gauge-Segments/m-p/397471#M569156</guid>
      <dc:creator />
      <dc:date>2012-11-02T15:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Gauge Segments</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Gauge-Segments/m-p/397472#M569157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sampath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use a Button and give the expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr([Amber Targ], [KPI No], [KPI Desc])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr([Green Targ], [KPI No], [KPI Desc])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then see what they evaluate to, the result will get displayed on the button. Also if you hardcode the values for segments, it must show you what you are expecting. So you can test both ways and see whats failing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Rajesh Vaswani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 15:16:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Gauge-Segments/m-p/397472#M569157</guid>
      <dc:creator>rajeshvaswani77</dc:creator>
      <dc:date>2012-11-02T15:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Gauge Segments</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Gauge-Segments/m-p/397473#M569158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, it seems that for mini gauges QV calculates&amp;nbsp; segment bound once for all rows.&lt;/P&gt;&lt;P&gt;Even if you use aggr() it just gets 0 for lower bound (thats why the last green segment is shown).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also note, you have checked 'Logarithmic scale'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Nov 2012 10:08:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Gauge-Segments/m-p/397473#M569158</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-11-03T10:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Gauge Segments</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Gauge-Segments/m-p/397474#M569159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately Aleksandr seems to be correct, coloring the traffic light works when the boundaries are set manually (using a fixed value), but calculating them for each line of the table doesn't do the trick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 09:38:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Gauge-Segments/m-p/397474#M569159</guid>
      <dc:creator />
      <dc:date>2015-01-23T09:38:41Z</dc:date>
    </item>
  </channel>
</rss>

