<?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: Help with Street light gauge in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1527239#M508521</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Was the attachment meant to be the same as what you've sent previously?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Jan 2019 17:21:35 GMT</pubDate>
    <dc:creator>polingolingo</dc:creator>
    <dc:date>2019-01-07T17:21:35Z</dc:date>
    <item>
      <title>Help with Street light gauge</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1526711#M508515</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good afternoon,&lt;/P&gt;&lt;P&gt;I have been searching my question in the boards without luck.&amp;nbsp; Please forgive me if similar has been asked before.&lt;/P&gt;&lt;P&gt;I have sample data that looks like the below. I have four total deals and the deals are made up of different categories. the sum of all the categories make up my total margin.&amp;nbsp; &amp;nbsp;In the example below, Deal1 made a total of -40.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q1 - What I want to create is a street light gauge with green and red lights &amp;amp; next to the lights, I would have the count of deals that either made money (green) or lost money (red). In the case of the example data below, I would have a gauge light that shows Green = 1 &amp;amp; Red = 3 (as three deals lost money &amp;amp; 1 made money) for a total of 4 deals.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Q2.&amp;nbsp; Side question,&amp;nbsp; I want to have an object box that returns the total margin results on a specific category when a deal is selected. If I just want to see the "payables" total margin, and I select Deal1 - I would get the result of =40. But I do not want to have "payables" as a&amp;nbsp;selected field. The only selected field would be deal 1.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="qlik.JPG" style="width: 287px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3108i93EAB9D6938F846C/image-size/large?v=v2&amp;amp;px=999" role="button" title="qlik.JPG" alt="qlik.JPG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help and ideas&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:39:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1526711#M508515</guid>
      <dc:creator>polingolingo</dc:creator>
      <dc:date>2024-11-16T21:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Street light gauge</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1526914#M508516</link>
      <description>&lt;P&gt;Hi, for Q1 you can use an expression like: If(Sum(TOTAL &amp;lt;Name&amp;gt; [total margin])&amp;lt;0, 0, 1)&lt;/P&gt;&lt;P&gt;and configure the lights based on that returned values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Q2 you can use set analysis to fix 'payables' as Category:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Category={'payables'}&amp;gt;}&amp;nbsp;&lt;SPAN&gt;[total margin])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 10:06:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1526914#M508516</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-01-07T10:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Street light gauge</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1527155#M508517</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good morning,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&amp;nbsp; for Q2 I am clear - exactly what I needed.&lt;/P&gt;&lt;P&gt;For Q1 - I was more looking for something like the below -&amp;nbsp; Where the Green &amp;amp; Red shows total distinct count depending on whether the deal made or lost money.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="count.PNG" style="width: 362px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3186i5D83207F594DA06C/image-size/large?v=v2&amp;amp;px=999" role="button" title="count.PNG" alt="count.PNG" /&gt;&lt;/span&gt;Thank you again for your time&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 15:30:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1527155#M508517</guid>
      <dc:creator>polingolingo</dc:creator>
      <dc:date>2019-01-07T15:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Street light gauge</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1527208#M508518</link>
      <description>Hi, that's how the sample works, have you checked it? It'sa uploaded as attachment in the last post.&lt;BR /&gt;I configured it to show 0 as red and 1 as green, and the expression returns 0 (red) for deals with negative nargins and 1(green) for deals with positive margin</description>
      <pubDate>Mon, 07 Jan 2019 16:34:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1527208#M508518</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-01-07T16:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Street light gauge</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1527229#M508519</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I carefully reviewed your sample.&amp;nbsp; Obviously,my limited knowledge on gauges its becoming apparent. what I see in the sample is either a red and a green next to deal name -&amp;nbsp; But what I want is 1 traffic light that returns a total count.&amp;nbsp; How can I get there from what you've initially built?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp; again for your time on this. It helps me a lot.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 16:57:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1527229#M508519</guid>
      <dc:creator>polingolingo</dc:creator>
      <dc:date>2019-01-07T16:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Street light gauge</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1527237#M508520</link>
      <description>&lt;P&gt;Ok, my bad english and fast reading skipped the 'count' part, maybe with:&lt;/P&gt;&lt;P&gt;=RangeMax(0, RangeMin(1, Sum(Aggr(If(Sum(TOTAL &amp;lt;Name&amp;gt; [total margin])&amp;lt;0, -1, 1),Name))))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 17:14:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1527237#M508520</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-01-07T17:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Street light gauge</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1527239#M508521</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Was the attachment meant to be the same as what you've sent previously?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 17:21:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1527239#M508521</guid>
      <dc:creator>polingolingo</dc:creator>
      <dc:date>2019-01-07T17:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Street light gauge</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1527241#M508522</link>
      <description>&lt;P&gt;No, it wasn't, I try again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To show result 0 as green just add 1 to the expression:&lt;/P&gt;&lt;P&gt;=RangeMax(0, RangeMin(1, &lt;STRONG&gt;1+&lt;/STRONG&gt;Sum(Aggr(If(Sum(TOTAL &amp;lt;Name&amp;gt; [total margin])&amp;lt;0, -1, 1),Name))))&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 17:26:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1527241#M508522</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-01-07T17:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Street light gauge</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1527251#M508523</link>
      <description>&lt;P&gt;I guess im getting more confused. sorry about this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Shouldnt the Red results = 3 (as 3 deals made &amp;lt;0 total margin). What you've built shows red = 0.&lt;/P&gt;&lt;P&gt;Ideally I have a light that shows Green = 1 &amp;amp; Red = 3. As below,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="count.PNG" style="width: 362px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3201i09B625A9501A381E/image-size/large?v=v2&amp;amp;px=999" role="button" title="count.PNG" alt="count.PNG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 17:32:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1527251#M508523</guid>
      <dc:creator>polingolingo</dc:creator>
      <dc:date>2019-01-07T17:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Street light gauge</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1527314#M508524</link>
      <description>That 0 or 1 is only to show the lights, to show the number you need another expression.&lt;BR /&gt;can you upload a sample of what chart are you using and you want to show this values?</description>
      <pubDate>Mon, 07 Jan 2019 20:28:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1527314#M508524</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-01-07T20:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Street light gauge</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1527318#M508525</link>
      <description>&lt;P&gt;Ruben,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe I was just being confusing with the traffic lights.&amp;nbsp; What I am really looking for is a conditional count function based on that original straight table in which I get a "count" of results based on whether the deal made or lost money.&amp;nbsp; So, what I need is a count function that returns = 3 for those deals that lost money and = 1 for the one deal that made money.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 20:38:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1527318#M508525</guid>
      <dc:creator>polingolingo</dc:creator>
      <dc:date>2019-01-07T20:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Street light gauge</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1527522#M508526</link>
      <description>&lt;P&gt;Another try&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 08:45:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1527522#M508526</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-01-08T08:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Street light gauge</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1527857#M508527</link>
      <description>&lt;P&gt;Perfect! thank you so much for all of your help Ruben.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 14:54:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1527857#M508527</guid>
      <dc:creator>polingolingo</dc:creator>
      <dc:date>2019-01-08T14:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Street light gauge</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1527942#M508528</link>
      <description>&lt;P&gt;Sorry for the confusing answers. If it's not clear what I have done:&lt;/P&gt;&lt;P&gt;- I used valuelist dimension to fix 2 rows.&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Check the expression for each light using pick(Match()) of the value list&lt;/P&gt;&lt;P&gt;- There is an expression that counts reds and other for greens (zero result is counted as green because the &amp;gt;=0)&lt;/P&gt;&lt;P&gt;- In presentation tab hide the dimension and table headers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 17:14:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Street-light-gauge/m-p/1527942#M508528</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-01-08T17:14:24Z</dc:date>
    </item>
  </channel>
</rss>

