<?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: difference between aggregation and projection node in Calculation view in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/difference-between-aggregation-and-projection-node-in-calculation-view/qaa-p/11470976#M4267643</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 am trying my best to explain difference between projection and aggregation in simple words.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Projection&lt;/STRONG&gt; : It is use to select data without aggregation. NO Group By Clause. You will get entire dataset for selected columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggregation&lt;/STRONG&gt; : Group by clause will be used here. So, you will get less number of rows in output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have create calculation view using below dummy table.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/862297" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modeling using Projection node :&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/862367" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output of Projection_1 node : &lt;BR /&gt;( After activation, right click on Projection_1 node and select Data Preview. Same is applicable to Aggregation_1 node)&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/862368" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modeling using Aggregation :&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/862369" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output of Aggregation_1 node :&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/862370" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Conclusion : Using projection, we got 7 &lt;/STRONG&gt;rows&lt;STRONG&gt; and using Aggregation, we got 2 rows. So, Using aggregation you are passing less data to another node. So, execution time will be fast.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : You will get same output at semantic layer for Projection and Aggregation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vikram&amp;nbsp; Divekar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jan 2016 00:09:11 GMT</pubDate>
    <dc:creator>former_member200930</dc:creator>
    <dc:date>2016-01-06T00:09:11Z</dc:date>
    <item>
      <title>difference between aggregation and projection node in Calculation view</title>
      <link>https://community.sap.com/t5/technology-q-a/difference-between-aggregation-and-projection-node-in-calculation-view/qaq-p/11470975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Please explain the exact difference between aggregation and projection node in Calculation view.I have taken many examples but getting same output, I am not able find out the any difference between these nodes. only difference I can find in aggregation node we have option of "add as aggregated column (min,max..)" but How it works for next level and ""When to use projection"". Please reply with simple example including data. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 18:30:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/difference-between-aggregation-and-projection-node-in-calculation-view/qaq-p/11470975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-05T18:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: difference between aggregation and projection node in Calculation view</title>
      <link>https://community.sap.com/t5/technology-q-a/difference-between-aggregation-and-projection-node-in-calculation-view/qaa-p/11470976#M4267643</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 am trying my best to explain difference between projection and aggregation in simple words.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Projection&lt;/STRONG&gt; : It is use to select data without aggregation. NO Group By Clause. You will get entire dataset for selected columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggregation&lt;/STRONG&gt; : Group by clause will be used here. So, you will get less number of rows in output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have create calculation view using below dummy table.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/862297" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modeling using Projection node :&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/862367" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output of Projection_1 node : &lt;BR /&gt;( After activation, right click on Projection_1 node and select Data Preview. Same is applicable to Aggregation_1 node)&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/862368" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modeling using Aggregation :&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/862369" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output of Aggregation_1 node :&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/862370" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Conclusion : Using projection, we got 7 &lt;/STRONG&gt;rows&lt;STRONG&gt; and using Aggregation, we got 2 rows. So, Using aggregation you are passing less data to another node. So, execution time will be fast.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : You will get same output at semantic layer for Projection and Aggregation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vikram&amp;nbsp; Divekar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 00:09:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/difference-between-aggregation-and-projection-node-in-calculation-view/qaa-p/11470976#M4267643</guid>
      <dc:creator>former_member200930</dc:creator>
      <dc:date>2016-01-06T00:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: difference between aggregation and projection node in Calculation view</title>
      <link>https://community.sap.com/t5/technology-q-a/difference-between-aggregation-and-projection-node-in-calculation-view/qaa-p/11470977#M4267644</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;PROJECTION is only meant for filtering but AGGREGATION is for both &lt;SPAN style="font-size: 13.3333px;"&gt;filtering &lt;SPAN style="font-size: 13.3333px;"&gt;and &lt;/SPAN&gt;aggregated columns&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Mohammed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 14:15:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/difference-between-aggregation-and-projection-node-in-calculation-view/qaa-p/11470977#M4267644</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-06T14:15:08Z</dc:date>
    </item>
  </channel>
</rss>

