<?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: Re: Expression value in Traffic Light Gauze in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-value-in-Traffic-Light-Gauze/m-p/573180#M213500</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is an attached example. I'm guessing you situation is a little more complicated. Are you using in a straight table? What dimension do you want to aggregate by?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Mar 2014 19:29:32 GMT</pubDate>
    <dc:creator>jerem1234</dc:creator>
    <dc:date>2014-03-13T19:29:32Z</dc:date>
    <item>
      <title>Expression value in Traffic Light Gauze</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-value-in-Traffic-Light-Gauze/m-p/573177#M213497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an Expression like this below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(sum(Status)&amp;lt;= count(DISTINCT [KPI])*1, RED(),&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(sum(Status)&amp;lt; count(DISTINCT [KPI])*2, YELLOW(), GREEN()&lt;/P&gt;&lt;P&gt;&amp;nbsp; ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use a Traffic Light Gauze chart. If the Condition 1 will satisfy, RED color will come. If 2nd color satisfies, YELLOW color will come. Else GREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My challenge is how/what to use in Min and Max values and Segments Lower Bound Values, as the Conditions in Expression is DYNAMIC.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 18:20:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-value-in-Traffic-Light-Gauze/m-p/573177#M213497</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2014-03-13T18:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Expression value in Traffic Light Gauze</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-value-in-Traffic-Light-Gauze/m-p/573178#M213498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could put min as 0, and max as 3. Then have lower bounds as 0, 1, 2. Where 0 would be for green color, 1 for yellow, and 2 for red. Then for your expression, just change your colors respectively:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(sum(Status)&amp;lt;= count(DISTINCT [KPI])*1, 2,&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; if(sum(Status)&amp;lt; count(DISTINCT [KPI])*2, 1, 0&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; ))&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12.727272033691406px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope this helps! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 19:09:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-value-in-Traffic-Light-Gauze/m-p/573178#M213498</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2014-03-13T19:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Expression value in Traffic Light Gauze</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-value-in-Traffic-Light-Gauze/m-p/573179#M213499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jerem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But somehow I am unable to achieve this. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; Could you please show in a QVW file, taking this as data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EmpID, KPIs, Status, Month&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100, A, 3, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100, B, 1, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100, C, 2, 1 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100, A, 1, 2 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100, B, 1, 2 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100, C, 2, 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100, A, 2, 3 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100, B, 3, 3 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100, C, 3, 3&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 19:18:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-value-in-Traffic-Light-Gauze/m-p/573179#M213499</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2014-03-13T19:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Expression value in Traffic Light Gauze</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-value-in-Traffic-Light-Gauze/m-p/573180#M213500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is an attached example. I'm guessing you situation is a little more complicated. Are you using in a straight table? What dimension do you want to aggregate by?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 19:29:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-value-in-Traffic-Light-Gauze/m-p/573180#M213500</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2014-03-13T19:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Expression value in Traffic Light Gauze</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-value-in-Traffic-Light-Gauze/m-p/573181#M213501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks much Jerem for this quick help!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, I am using in a Gauze Chart itself. I was trying the way you have implemented. Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in a straight table I am achieve to do this.I am taking 'Month' as the Dimension and in the Expression, I am using the formula in the Background Color. But I have to show in a Gauze Chart finally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 19:49:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-value-in-Traffic-Light-Gauze/m-p/573181#M213501</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2014-03-13T19:49:04Z</dc:date>
    </item>
  </channel>
</rss>

