<?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>Question Re: Join node shows different results compared to underlying aggregation in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/join-node-shows-different-results-compared-to-underlying-aggregation/qaa-p/327666#M7643</link>
    <description>&lt;P&gt;Hi Sajith,&lt;/P&gt;&lt;P&gt;As I understand the problem from the given screenshots, I believe the reason for the data issue at Join 2 node is as explained below:&lt;/P&gt;&lt;P&gt;It seems the Join1 node has multiple entries for a combination of  Goal, Objective and Key initiative - where the other fields like Activityid, responseid could be different (Example: Goal 1, Objective 1 and Key initiative 1 may have two activityid values). In that case it will lead to the multiplication of measure values where the aggregation is set to "Sum".&lt;/P&gt;&lt;P&gt;Please check this by displaying the other attributes  (such as  Activityid, responseid) also at the Join2 node level data preview.  &lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Varma &lt;/P&gt;</description>
    <pubDate>Thu, 13 Oct 2016 15:56:04 GMT</pubDate>
    <dc:creator>varma_narayana</dc:creator>
    <dc:date>2016-10-13T15:56:04Z</dc:date>
    <item>
      <title>Join node shows different results compared to underlying aggregation</title>
      <link>https://community.sap.com/t5/technology-q-a/join-node-shows-different-results-compared-to-underlying-aggregation/qaq-p/327665</link>
      <description>&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt;I am working on a requirement where the weights have to be created and rolled up based on counts of certain parameters - such as Goals, Objectives, Key initiatives, Activities and Responses. &lt;/P&gt;&lt;P&gt;A Goal can have multiple Objectives, an objective can have multiple Key initiatives and so on. &lt;/P&gt;&lt;P&gt;I started aggregating from the lowest level for the count for this, but while it works on the lowest level, the second level (from bottom) shows me weird results. I see good values in the aggregation level, but that's not what I see after the join. &lt;/P&gt;&lt;P&gt;Aggregation 2 and join 2 are the ones in question. The column I am concerned about, is COUNT_ACTIVITY&lt;/P&gt;&lt;P&gt;For Goal 1, Objective 1 and Key initiative 1, the count from Aggregation 2 returns 2, which is the expected value.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/834-aggregation-results.jpg" /&gt;&lt;/P&gt;&lt;P&gt;But when I join it back (join_2), I see different values for the same variable. Please see the screenshot below.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/836-join-results.jpg" /&gt;&lt;/P&gt;&lt;P&gt;For Goal 1, Objective 1 and Key initiative 1, the count from Aggregation was 2, but from join, I get 4. &lt;/P&gt;&lt;P&gt;I was expecting to see 2 (from the aggregation) against all rows corresponding to Goal 1, Objective 1 and Key initiative 1. &lt;/P&gt;&lt;P&gt;Am I doing something wrong here? I haven't come across something like this earlier. &lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2016 03:00:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/join-node-shows-different-results-compared-to-underlying-aggregation/qaq-p/327665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-10-11T03:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Join node shows different results compared to underlying aggregation</title>
      <link>https://community.sap.com/t5/technology-q-a/join-node-shows-different-results-compared-to-underlying-aggregation/qaa-p/327666#M7643</link>
      <description>&lt;P&gt;Hi Sajith,&lt;/P&gt;&lt;P&gt;As I understand the problem from the given screenshots, I believe the reason for the data issue at Join 2 node is as explained below:&lt;/P&gt;&lt;P&gt;It seems the Join1 node has multiple entries for a combination of  Goal, Objective and Key initiative - where the other fields like Activityid, responseid could be different (Example: Goal 1, Objective 1 and Key initiative 1 may have two activityid values). In that case it will lead to the multiplication of measure values where the aggregation is set to "Sum".&lt;/P&gt;&lt;P&gt;Please check this by displaying the other attributes  (such as  Activityid, responseid) also at the Join2 node level data preview.  &lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Varma &lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2016 15:56:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/join-node-shows-different-results-compared-to-underlying-aggregation/qaa-p/327666#M7643</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2016-10-13T15:56:04Z</dc:date>
    </item>
  </channel>
</rss>

