<?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: Sum other rows based on dimension compare in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sum-other-rows-based-on-dimension-compare/m-p/1167530#M21288</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer.&amp;nbsp; I researched a little more and try as I might, I can't use any clever aggr(), sum-if's etc.... It seems there is no way to escape dimensionality.&amp;nbsp; A LEFT JOIN is required for the aggregation I'm looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Aug 2016 20:10:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-08-12T20:10:18Z</dc:date>
    <item>
      <title>Sum other rows based on dimension compare</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-other-rows-based-on-dimension-compare/m-p/1167524#M21282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've got data that looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Associate&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;ReferredBy&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;SalesQty&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;ReferredSalesQty&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Alice&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Bob&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;50&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Bob&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Carl&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;60&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Carl&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;NULL&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;70&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;60&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Alice&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;NULL&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;80&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Bob&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Alice&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;90&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Dan&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Alice&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the `ReferredSalesQty` column, I want to display the SUM of SalesQty they have referred.&amp;nbsp; So,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alice is responsible for referring Bob and Dan, resulting in 100 units of sales.&lt;/P&gt;&lt;P&gt;Bob referred Alice, 50 units.&lt;/P&gt;&lt;P&gt;Carl referred Bob, 60 units.&lt;/P&gt;&lt;P&gt;Dan referred no one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible with Set Analysis?&amp;nbsp; I have tried&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM({1 Associate = {ReferredBy}} SalesQty)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 16:26:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-other-rows-based-on-dimension-compare/m-p/1167524#M21282</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-10T16:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sum other rows based on dimension compare</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-other-rows-based-on-dimension-compare/m-p/1167525#M21283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Associate, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ReferredBy, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesQty&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2156" data-containertype="14" data-objectid="228645" data-objecttype="1" href="https://community.qlik.com/thread/228645"&gt;https://community.qlik.com/thread/228645&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Left Join (Table)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD ReferredBy as Associate,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum(SalesQty) as ReferredSalesQty&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Group By ReferredBy;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/134228_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 16:56:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-other-rows-based-on-dimension-compare/m-p/1167525#M21283</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-10T16:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Sum other rows based on dimension compare</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-other-rows-based-on-dimension-compare/m-p/1167526#M21284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is helpful.&amp;nbsp; But anyway to do this with builtin Qlik functions?&amp;nbsp; I'd like to avoid touching our data model.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 16:58:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-other-rows-based-on-dimension-compare/m-p/1167526#M21284</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-10T16:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sum other rows based on dimension compare</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-other-rows-based-on-dimension-compare/m-p/1167527#M21285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want to do this on the front end chart you mean?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 17:00:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-other-rows-based-on-dimension-compare/m-p/1167527#M21285</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-10T17:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sum other rows based on dimension compare</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-other-rows-based-on-dimension-compare/m-p/1167528#M21286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.&amp;nbsp; Maybe using Aggr or set analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 17:20:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-other-rows-based-on-dimension-compare/m-p/1167528#M21286</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-10T17:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sum other rows based on dimension compare</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-other-rows-based-on-dimension-compare/m-p/1167529#M21287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if I know how to do this. May be someone else can offer an advice here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 17:26:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-other-rows-based-on-dimension-compare/m-p/1167529#M21287</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-10T17:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sum other rows based on dimension compare</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-other-rows-based-on-dimension-compare/m-p/1167530#M21288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer.&amp;nbsp; I researched a little more and try as I might, I can't use any clever aggr(), sum-if's etc.... It seems there is no way to escape dimensionality.&amp;nbsp; A LEFT JOIN is required for the aggregation I'm looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 20:10:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-other-rows-based-on-dimension-compare/m-p/1167530#M21288</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-12T20:10:18Z</dc:date>
    </item>
  </channel>
</rss>

