<?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 Adding guage results together {how??} in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-guage-results-together-how/m-p/210805#M588990</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think, you can just add both expression you gave in Gauge1 and Gauge2.&lt;/P&gt;&lt;P&gt;(Gauge1expression + Gauge2 expression)/2 will give you the answer if i am not misunderstood your question.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Dec 2010 12:41:54 GMT</pubDate>
    <dc:creator>renjithpl</dc:creator>
    <dc:date>2010-12-02T12:41:54Z</dc:date>
    <item>
      <title>Adding guage results together {how??}</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-guage-results-together-how/m-p/210804#M588989</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;I want to do the following:&lt;/P&gt;&lt;P&gt;Gauge 1 has a result; Gauge 2 has a result.&lt;/P&gt;&lt;P&gt;I want to make a third gauge which basicly does: (GAUGE1.Result + GAUGE2.Result) /2&lt;/P&gt;&lt;P&gt;Is this possible? Or is the only way out programming the gauges in Variables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your feedback!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 12:27:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-guage-results-together-how/m-p/210804#M588989</guid>
      <dc:creator />
      <dc:date>2010-12-02T12:27:30Z</dc:date>
    </item>
    <item>
      <title>Adding guage results together {how??}</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-guage-results-together-how/m-p/210805#M588990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think, you can just add both expression you gave in Gauge1 and Gauge2.&lt;/P&gt;&lt;P&gt;(Gauge1expression + Gauge2 expression)/2 will give you the answer if i am not misunderstood your question.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 12:41:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-guage-results-together-how/m-p/210805#M588990</guid>
      <dc:creator>renjithpl</dc:creator>
      <dc:date>2010-12-02T12:41:54Z</dc:date>
    </item>
    <item>
      <title>Adding guage results together {how??}</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-guage-results-together-how/m-p/210806#M588991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, this is true. But I do not want to store the expression's logic in more than 1 place.&lt;/P&gt;&lt;P&gt;That way, if I fix a bug in 1 gauge, all other gauges will also be fixed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 13:34:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-guage-results-together-how/m-p/210806#M588991</guid>
      <dc:creator />
      <dc:date>2010-12-02T13:34:47Z</dc:date>
    </item>
    <item>
      <title>Adding guage results together {how??}</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-guage-results-together-how/m-p/210807#M588992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi markvandermeij, I can probably help you, even if the solution I'm suggesting you isn't that practical. You'll see.&lt;/P&gt;&lt;P&gt;Let say you need three expressions, one for Gauge1, one for Gauge2 and the last one to represent the average in Gauge3.&lt;/P&gt;&lt;P&gt;In this situation I would set three variables at the end of the script:&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;SET Expr1 = "sum({$&amp;lt;myField1 = {'myValue1'}&amp;gt;}Value)";&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;SET Expr2 = "sum({$&amp;lt;myField2 = {'myValue2'}&amp;gt;}Value)";&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;SET AvgExp = "rangeavg($(Expr1),$(Expr2))"&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;or, if you prefer:&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;SET AvgExpr = (($(Expr1))+($(Expr2))) / 2&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;Then, you'll need to refer to these variables when defining your three gauges using again the so called &lt;I&gt;dollar expansion&lt;/I&gt;.&lt;/P&gt;&lt;P&gt;Hope it's all clear.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Dec 2010 14:28:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-guage-results-together-how/m-p/210807#M588992</guid>
      <dc:creator>googel84</dc:creator>
      <dc:date>2010-12-02T14:28:27Z</dc:date>
    </item>
  </channel>
</rss>

