<?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 Gathering 'Definition' data from different widgets. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Gathering-Definition-data-from-different-widgets/m-p/141576#M21223</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The RangeAvg function would also work.&lt;/P&gt;&lt;P&gt;RangeAvg(expr1, expr2, expr3)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Apr 2009 21:53:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-04-16T21:53:33Z</dc:date>
    <item>
      <title>Gathering 'Definition' data from different widgets.</title>
      <link>https://community.qlik.com/t5/QlikView/Gathering-Definition-data-from-different-widgets/m-p/141569#M21216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Suppose I have 3 widgets (gauges) each with a numeric definition such as 20, 30, 40&lt;/P&gt;&lt;P&gt;I wish to display the average of these definitions in a 4th widget.&lt;/P&gt;&lt;P&gt;What is the cleanest way to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 18:23:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gathering-Definition-data-from-different-widgets/m-p/141569#M21216</guid>
      <dc:creator />
      <dc:date>2009-04-16T18:23:40Z</dc:date>
    </item>
    <item>
      <title>Gathering 'Definition' data from different widgets.</title>
      <link>https://community.qlik.com/t5/QlikView/Gathering-Definition-data-from-different-widgets/m-p/141570#M21217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's probably a more elegant solution depending on what the document looks like but how about:&lt;BR /&gt;Sum(Expr1 + Expr2 + Expr3) / 3&lt;/P&gt;&lt;P&gt;If you're using dimensions on the gauges you might have to modify the expression though so that Exp1 - 3 calculate the sums that you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 19:23:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gathering-Definition-data-from-different-widgets/m-p/141570#M21217</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-16T19:23:44Z</dc:date>
    </item>
    <item>
      <title>Gathering 'Definition' data from different widgets.</title>
      <link>https://community.qlik.com/t5/QlikView/Gathering-Definition-data-from-different-widgets/m-p/141571#M21218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,&lt;/P&gt;&lt;P&gt;In particular, I want to know how to say "Expr1".&lt;/P&gt;&lt;P&gt;That is, from widget 4, how to say widget4 = "widget3.expression" to describe it in an OOP way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 19:29:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gathering-Definition-data-from-different-widgets/m-p/141571#M21218</guid>
      <dc:creator />
      <dc:date>2009-04-16T19:29:18Z</dc:date>
    </item>
    <item>
      <title>Gathering 'Definition' data from different widgets.</title>
      <link>https://community.qlik.com/t5/QlikView/Gathering-Definition-data-from-different-widgets/m-p/141572#M21219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using ver. 8.5, look at Set Analysis - that's as close as you get.&lt;/P&gt;&lt;P&gt;QlikView expressions are not OOP, but you can get the same result in a different way...&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 19:33:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gathering-Definition-data-from-different-widgets/m-p/141572#M21219</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-04-16T19:33:33Z</dc:date>
    </item>
    <item>
      <title>Gathering 'Definition' data from different widgets.</title>
      <link>https://community.qlik.com/t5/QlikView/Gathering-Definition-data-from-different-widgets/m-p/141573#M21220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok thanks, just wanted to check &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 19:40:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gathering-Definition-data-from-different-widgets/m-p/141573#M21220</guid>
      <dc:creator />
      <dc:date>2009-04-16T19:40:32Z</dc:date>
    </item>
    <item>
      <title>Gathering 'Definition' data from different widgets.</title>
      <link>https://community.qlik.com/t5/QlikView/Gathering-Definition-data-from-different-widgets/m-p/141574#M21221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A non fancy way to deal with this is to always define all expressions as variables in the load script.&lt;/P&gt;&lt;P&gt;Defining expr1, expr2, expr3 and then let expr4 be sum(expr1+expr2+expr3)/3&lt;/P&gt;&lt;P&gt;That typically saves me some time especially when I have to make changes to expressions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 19:59:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gathering-Definition-data-from-different-widgets/m-p/141574#M21221</guid>
      <dc:creator />
      <dc:date>2009-04-16T19:59:23Z</dc:date>
    </item>
    <item>
      <title>Gathering 'Definition' data from different widgets.</title>
      <link>https://community.qlik.com/t5/QlikView/Gathering-Definition-data-from-different-widgets/m-p/141575#M21222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See I ask this because I noticed that widgets have an object identifier.&lt;/P&gt;&lt;P&gt;For example CH23.&lt;/P&gt;&lt;P&gt;Now I'm trying to build up a set of dependancies, of data, rather.. a roll up of data i.e.:&lt;/P&gt;&lt;P&gt;A is B+C&lt;/P&gt;&lt;P&gt;B is D+E&lt;BR /&gt;C is F+G&lt;/P&gt;&lt;P&gt;D is.... etc...&lt;/P&gt;&lt;P&gt;Somewhere at the bottom the raw data is kept.&lt;/P&gt;&lt;P&gt;Now with this top down, approach, the expressions become huge, so I was hoping that I could just abstract away the resulting 'expression definitions' and access them via the object identifier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm just trying to find an elegant way to roll up data, top down or bottom up, (top down now seems unlikely).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 21:51:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gathering-Definition-data-from-different-widgets/m-p/141575#M21222</guid>
      <dc:creator />
      <dc:date>2009-04-16T21:51:46Z</dc:date>
    </item>
    <item>
      <title>Gathering 'Definition' data from different widgets.</title>
      <link>https://community.qlik.com/t5/QlikView/Gathering-Definition-data-from-different-widgets/m-p/141576#M21223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The RangeAvg function would also work.&lt;/P&gt;&lt;P&gt;RangeAvg(expr1, expr2, expr3)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 21:53:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gathering-Definition-data-from-different-widgets/m-p/141576#M21223</guid>
      <dc:creator />
      <dc:date>2009-04-16T21:53:33Z</dc:date>
    </item>
    <item>
      <title>Gathering 'Definition' data from different widgets.</title>
      <link>https://community.qlik.com/t5/QlikView/Gathering-Definition-data-from-different-widgets/m-p/141577#M21224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can do it (to a degree...) using expressions stored in variables. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;SET exp_Sales = 'sum(Sales)';&lt;BR /&gt;SET exp_Cost = 'sum(Cost)';&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Then, in your chart expressions, you can operate with those "building blocks":&lt;/P&gt;&lt;P&gt;= ( $(exp_Sales) - $(exp_Cost) ) / $(exp_Cost)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if you can use nested expressions though...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2009 02:52:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gathering-Definition-data-from-different-widgets/m-p/141577#M21224</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-04-17T02:52:54Z</dc:date>
    </item>
  </channel>
</rss>

