<?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 Different traffic light bounds based on dimension value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Different-traffic-light-bounds-based-on-dimension-value/m-p/1521826#M598559</link>
    <description>&lt;P&gt;Dear all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please give me a hand on this?&lt;/P&gt;&lt;P&gt;I am trying to build a straight table on Qlikview, and one of the Expressions I created is a result in a traffic light format.&lt;/P&gt;&lt;P&gt;The demand is to have different lower and upper bounds based on different regions and KPIs.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pic1.JPG" style="width: 213px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2314i7FC0FC98037A0181/image-size/large?v=v2&amp;amp;px=999" role="button" title="Pic1.JPG" alt="Pic1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since now, Thank you very much&lt;/P&gt;</description>
    <pubDate>Mon, 17 Dec 2018 19:49:21 GMT</pubDate>
    <dc:creator>icaro_povoa</dc:creator>
    <dc:date>2018-12-17T19:49:21Z</dc:date>
    <item>
      <title>Different traffic light bounds based on dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Different-traffic-light-bounds-based-on-dimension-value/m-p/1521826#M598559</link>
      <description>&lt;P&gt;Dear all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please give me a hand on this?&lt;/P&gt;&lt;P&gt;I am trying to build a straight table on Qlikview, and one of the Expressions I created is a result in a traffic light format.&lt;/P&gt;&lt;P&gt;The demand is to have different lower and upper bounds based on different regions and KPIs.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pic1.JPG" style="width: 213px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2314i7FC0FC98037A0181/image-size/large?v=v2&amp;amp;px=999" role="button" title="Pic1.JPG" alt="Pic1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since now, Thank you very much&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 19:49:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-traffic-light-bounds-based-on-dimension-value/m-p/1521826#M598559</guid>
      <dc:creator>icaro_povoa</dc:creator>
      <dc:date>2018-12-17T19:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Different traffic light bounds based on dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Different-traffic-light-bounds-based-on-dimension-value/m-p/1521946#M598560</link>
      <description>&lt;P&gt;you should set the lower bound for each traffic light chart then I think you can use from if statement.&lt;/P&gt;&lt;P&gt;if(territory='USA',1,if(&lt;SPAN&gt;territory='Europe',2)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;then you should set the lower bound&amp;nbsp; for two segment to 0 and 2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;please see the attachment.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 07:10:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-traffic-light-bounds-based-on-dimension-value/m-p/1521946#M598560</guid>
      <dc:creator>jafari_ervin</dc:creator>
      <dc:date>2018-12-18T07:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Different traffic light bounds based on dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Different-traffic-light-bounds-based-on-dimension-value/m-p/1522094#M598561</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Was not exactly like this but open my mind for achieving the solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Follow what I did.&lt;/P&gt;&lt;P&gt;If(Avg({$&amp;lt;Territory={'A'},KPI={'1'}&amp;gt;}([Result]))&amp;gt;0,If(Avg({$&amp;lt;Territory={'A'},KPI={'1'}&amp;gt;}([Result]))&amp;lt;0.3,1,2)) &amp;amp;&lt;BR /&gt;If(Avg({$&amp;lt;Territory={'B},KPI={'2'}&amp;gt;}([Result]))&amp;gt;0,If(Avg({$&amp;lt;Territory={'B'},KPI={'2'}&amp;gt;}([Result]))&amp;lt;0.8,1,2)) &amp;amp;&lt;BR /&gt;If(Avg({$&amp;lt;Territory={'C'},KPI={'3'}&amp;gt;}([Result]))&amp;gt;0,If(Avg({$&amp;lt;Territory={'C'},KPI={'3'}&amp;gt;}([Result]))&amp;lt;1.3,1,2))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THANKS&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 11:01:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-traffic-light-bounds-based-on-dimension-value/m-p/1522094#M598561</guid>
      <dc:creator>icaro_povoa</dc:creator>
      <dc:date>2018-12-18T11:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Different traffic light bounds based on dimension value</title>
      <link>https://community.qlik.com/t5/QlikView/Different-traffic-light-bounds-based-on-dimension-value/m-p/1558618#M598562</link>
      <description>Hi,&lt;BR /&gt;if someone is looking at this, there is DEFINITELY an easier way than the above formula.&lt;BR /&gt;instead of making a convoluted gauge setting minimum threashhold, simply make your actual expression an If forumla so that the result is either an 0,1 or 2.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Mar 2019 19:28:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-traffic-light-bounds-based-on-dimension-value/m-p/1558618#M598562</guid>
      <dc:creator>sibrulotte</dc:creator>
      <dc:date>2019-03-19T19:28:47Z</dc:date>
    </item>
  </channel>
</rss>

