Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
3Activity
0 of .
Results for:
No results containing your search query
P. 1
Aggregation of Key Figures

Aggregation of Key Figures

Ratings: (0)|Views: 232 |Likes:

More info:

Published by: Nandeesh Kodimallaiah on Mar 01, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

08/04/2013

pdf

text

original

 
 
SAP COMMUNITY NETWORK SDN -
sdn.sap.com |
BPX -
bpx.sap.com |
BOC
- boc.sap.com |
UAC
- uac.sap.com © 2011 SAP AG 1
Aggregation of Key Figures
Applies to:
SAP Net Weaver BW. For more information, visit the EDW homepage 
Summary
Detailed description on how and When to Use Before or After Aggregation in Key Figures
Author:
Adlin Sundararaj
Company:
Accenture Services Pvt. Ltd.
Created on:
19-April-11
Author Bio
Adlin Sundararaj is working as SAP-BI Consultant in Accenture Services Private Ltd and hasexperience of working on implementation and maintenance projects.
 
Aggregation of Key Figures 
SAP COMMUNITY NETWORK SDN -
sdn.sap.com |
BPX -
bpx.sap.com |
BOC
- boc.sap.com |
UAC
- uac.sap.com © 2011 SAP AG 2
Table of Contents
 
Aggregation of Key Figures 
SAP COMMUNITY NETWORK SDN -
sdn.sap.com |
BPX -
bpx.sap.com |
BOC
- boc.sap.com |
UAC
- uac.sap.com © 2011 SAP AG 3
Introduction
To provide flexibility with calculated query key figure values and meet the demands of a user environment,you might want to calculate values in queries using different types of aggregation.BW uses the Before Aggregation and After Aggregation settings in query processing. They do not relate toaggregates that improve performance. The Before Aggregation setting calculates key figures differently thanthe After Aggregation setting in BEx Analyzer.The document describes how they operate and where to find them in the system.
Aggregation
To calculate the value of key figures, the data from the InfoProvider has to be aggregated at the detail levelfor the query. It is possible that formulas also have to be calculated. In this case, several characteristicshave to be aggregated. For each key figure, one selected characteristic can be aggregated with another rule.
Features
The OLAP engine in the BW proceeds as follows:
Standard aggregation is executed first. Possible types if aggregation are summation (SUM),minimum (MIN), and maximum (MAX). Minimum and maximum can be set, for example, for date keyfigures.
The aggregation of a selected characteristic takes place after the standard aggregation (exceptionaggregation). Possible exception aggregations available are average, counter, first value, last value,minimum, maximum, no aggregation, standard deviation, summation and variance. Cases whereexception aggregation would be applied include, for example, storage non-cumulative that can notbe totaled by time, or counters that count the number of characteristics for a particular characteristic.
Aggregation by currency and units is executed last. If two figures are aggregated unequally with
different currencies or units, the system marks this with „*‟.
Before / After Aggregation
The BW 3.x system can perform two different types of calculated key figure aggregation:
Before Aggregation
After Aggregation.For example, a query might display a total price variance report. This report would calculate differently ifcalculated before aggregation versus after aggregation.When BW calculates the report before aggregation, it calculates each variance individually on each line andthen aggregates them together to form a variance.If BW calculates after aggregation, it adds the total price values and then determines the variance.Depending on the formula, these two approaches can give widely different key figure results.Developers can set the type of aggregation individually on each calculated key figure. However, the systeminitially sets all key figures to After Aggregation by default. Using the Before Aggregation setting, you canarrive at a calculation that you may otherwise not be able to perform. However, it may negatively affect your
system‟s performance.

Activity (3)

You've already reviewed this. Edit your review.
1 hundred reads
paulstam liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->