Aggrigates

Hi Experts,
I have some doubts,
*Can we create Aggregates on Hierarchies?
*What is Match Box in Business Content?
*What is Slowly changing Dimension?
*What is Navigational Attribute in ODS?
*Will Navigational Attribute affect the Query performance?
Regards,
Siva

Hi
An aggregate is a rollup of fact data where a total value is sufficient and no detailed information is needed.
So aggregates are like InfoCubes except that they summarize or aggregate data from an InfoCube.
When you use an aggregate, the summarization it represents does not need to be done during
runtime.
Aggregate functions happen in the background. They are not visible to the end-user.
Aggregates can be created: are not possible for:
For BasicCubes
On dimension characteristics
On navigational attributes
On hierarchy levels
Aggregates Cannot be created on
Multiprovider
RemoteCube
Ods Object
Infoset
When we need to use aggregates:
As a rule of thumb, an aggregate is reasonable and may be created if,
Aggregation ratio >10 i.e, 10 times more records are read than are displayed ( Aggregation ratio = Number of records read from DB / Number of records transferred)
AND
Percentage of DB Time > 30% ie; the time spent on database is a substantial part of the whole query runtime
I hope for creating aggregates i think the thumrule should be successful... But where can we check that Aggregation ratio > 10% and Percentage DB time > 30%.
AGGREGATES
There are three methods for viewing this data.
1. You can see in table RSDDSTAT.
2. By using t-code ST03
( Expert mode -> BW system load -> last minute's load)
3. By implementing BW Statistics.
(AWB -> Tools -> BW statistics for info cubes
o: OLAP (front end)
w: Warehouse (loading)
-> Delete specify from date, to date
-> select cube
-> execute )
You will have the following fields
QDBSL - No. of records selected
QDBTRANS - No. of records transferred.
QTIMEOLAP - OLAP time
QTIMEDB - DB time
QTIMECLIENT - Front end time
If QDBSL/QDBTRANS RATIO > 10 AND DBTIME >30 we will use aggregates.
Why we need to use this
Rollup -Moving of data from cube to aggregate
If you have aggregates on the Cube ,data will not be available for reporting until & unless you roll up the data in aggrgates .
If you use navigational attribute in the report you can drilldown to the lowest details. You can find whether the attribute is display or navigational in the tab "Attributes" of the InfoObject screen.
Navigational attributes are part of the “extended star schema”. Navigational attributes require additional table joins at runtime (in comparison to dimension characteristics) so having an impact on performance.
– but usually the decision for dimension characteristics or navigational attributes is based on business requirements rather than on performance considerations.
Navigation attributes are joins that need to be performed at query execution. There is no limit that I know of for navigational attributes but for large queries , it is desirable to minimize navigational attributes.
Joins at runtime for query generation are very expensive and should be minimized.
Check the following link to get an idea of nav attribute.
http://help.sap.com/erp2005_ehp_03/helpdata/EN/2e/caceae8dd08e48a63c2da60c8ffa5e/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/en/80/1a63e7e07211d2acb80000e829fbfe/frameset.htm
hope it helps
Regards
gaurav

Similar Messages

  • What is flat aggrigates and normal aggregates

    hi experts,
    I could not find the meaning of flat aggrigates and what is the business case to be applied.
    thanks
    vijay

    Please search SDN.
    aggregate
    aggregate
    Flat Aggregates ?

  • Is rollup possible if aggrigates are in inactive stage

    Hi,
    Is rollup possible when aggrigates are in inactive status.
    Please give your valuble answers.
    Thanks
    sunil

    Hi,
    Its not possible. Actually when the aggregates are active, the will be pulled from infocube and stored in to the aggregates. if they are inactive no data will be pushed from infocube even after the load.
    Regard,
    jack

  • Aggrigate problem

    Hi Experts,
    I have modified one object from display attribute to navigation attribute.
    I have aggrigate on this cube, which was switched off before my change ont he cube and then switched on now.
    but the changes in the cube is not affecting on the aggregate even after activating the aggrigate.
    My problem is: the object which was modified in the cube is still as Char in the template of the aggrigate. but i think it has to be as navigation attribute.
    please suggest the solution for my problem.
    thanks in advance
    sunil.

    Hi Sunil,
    When ever master data is changed and in order to reflect the changes in aggregates we should do attribute change run.
    Go to RSA1 -> Tools ->apply Hierarchy/attr change
    provide job name
    select with variant
    execute
    get variant
    it automatically reflects the changes into aggregates.
    no need to deactivate,refilling just do attr change run
    Message was edited by:
            Siri Siri

  • Compress and Aggrigates

    hai experts,
    Plz..What is difference between Aggrigates and Compress.
    How to do can any body give the step by step........
    Thanks in advance......
    with regards..
    raghu

    Dear Raghu,
    Both, compression and aggregates, are used to increase reporting speed.
    To understand how compression works, you have to know BW's extended star schema. From a technical point of view InfoCubes consist of fact tables and dimension tables. Fact tables store all your key figures, dimension tables tell the system which InfoObject identification are being used with the key figures. Now, every InfoCube has <b>two</b> fact tables, a so-called F-table and an E-table. The E-table is an aggregation of the F-tables's records as the request ID is being removed. Therefore an E-table normally has less records than an F-table. When you load data to an InfoCube, it is just stored in the F-table. By compressing the InfoCube you update the E-table and delete the corresponding records from the F-table.
    Aggregates are, from a technical point of view, InfoCubes themselves. They are related to your "basis" InfoCube, but you have to define them manually. They consist of a subset of all the records in your InfoCube. In principal there are two ways to select the relevant records for an aggregate. Either you select not all Infobjects which are included in your InfoCube, or you choose fixed values for certain InfoObjects. Like the compression, updating aggregates is a task which takes place after the loading of your InfoCube.
    When a report runs BW automatically takes care of F- and E-tables and existing aggregates.
    Further information and instructions can be found in the SAP Help:
    http://help.sap.com/saphelp_nw04/helpdata/en/ca/aa6437e7a4080ee10000009b38f842/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/91/270f38b165400fe10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/7d/eb683cc5e8ca68e10000000a114084/frameset.htm
    Greetings,
    Stefan

  • How to creates Aggrigates and Disaggragates in APO-DP

    HI sap gures
        this is suresh in APO-DP,how do you create the aggrigates and Disagrigates, if aggrigates
    where it will be effected, please tell me.
    Regards
    suresh.

    Hello Suresh,
    Aggregation refers to the function whereby key figure values on detail level are automatically summed up at runtime and shown or planned on aggregated level. If, for example, you display the forecasted demand for a region in the interactive planning table, you see the forecasted demand that the system has summed up for the various distribution channels, product families, brands, and customers, for that particular region.
    Disaggregation refers to the function that automatically provides the details of a key figure value from aggregrated level on detail level. If, for example, you forecast the demand for a particular region, the system breaks the value down immediately into the distribution channels, product families, brands, products, customers, and so on in this region.
    Aggregation and disaggregation ensure a consistent planning approach throughout your organization. The sum of the values on detail level always equals the total on aggregated level. Key figure values are always saved on the lowest level of detail. If aggregates exist, the data is also saved on this aggregate level.
    Regards
    Rahul Chitte

  • Reg. Aggrigates

    Hi Guys,
    Can anybody explain, which Time-Dependent Navigational Attributes & Time Dependent Hierarchy Structure attributes can not be used in Aggrigates.
    Thanks in advance
    Peter B

    Hi Guys,
    Can anybody explain, why Time-Dependent Navigational Attributes & Time Dependent Hierarchy Structure attributes can not be used in Aggrigates.
    Thanks in advance
    Peter B

  • Disable multiple slicer selection or stop measure to aggrigate

    Hi All,
    I have situation where I have a Time Dim in three slicers (Year, Month and Day) and I have products with measures like OpeningBalance, Issues, Receipts, Adjustments, ClosingBalances etc..
    Now if user selects multiple days then pivot table will sum up Issues, Receipts, Adjustments which is correct but will sum up Opening and Closing balances as well which is wrong.
    I can think of two solutions:
    1. Stop the user from selecting multiple values from each slicer (I do not know to do) or
    2. If user select multiple values then Opening balance is for minimum (earliest) time and Closing balances are for maximum (latest) time (I do not know how to do this either)
    Please suggest to resolve above situation. I am using PowerPivot in Excel 2010.
    Below url is discussing case 1.
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/401ea19f-29ca-407e-b378-db44b2814d52/allowing-only-single-selection-in-slicers?forum=sqlkjpowerpivotforexcel
    Thanks in advance,
    Naseer - Houston

    Thanks Ayad for taking time. In my case DayNum canot be fixed to 0, requirement is is user select multiple days then OpeningBalance is for very first day in selection and ClosingBalance is for last day in selection.
    This is what I did and seemw like working so far.
    For OpeningBalances:
    =CALCULATE(SUM(DailyTrx[OpeningBalance]), FILTER(DailyTrx, DailyTrx[DayNum]=MIN(DailyTrx[DayNum])))
    For ClosingBalances:
    =CALCULATE(SUM(DailyTrx[EndingBalances]), FILTER(DailyTrx, DailyTrx[DayNum]=MAX(DailyTrx[DayNum])))
    Gerhard gave idea and below post explained me the useage.
    http://www.powerpivotpro.com/2012/06/filter-when-why-how-to-use-it/
    Thanks everyone

  • What are the advatages of aggrigate storage database

    please explain clearly

    ASO is excellent for large read-only analysis with minimal complex calculations.
    Its main function is aggregation. By default it does not store aggregations; rather it calculates them dynamically when you retrieve. You can create aggregations if you need even more performance.
    Secondly it has compression technology that saves a lot of disk space. It most cases data that is loaded, by default, is smaller then the actual source data.
    Example Applications
    Sales Analysis
    POS Analysis
    Executive Reporting
    Brian Chow

  • Selective deletion for particler cube and rebuild of aggrigates in Psystem

    Hi Friends,
    1.In my manage data target screen i have 8 cubes but i want do selective deletion from 1st cube ..how i can do ..?
    Im thinking like...IN DETILS column i will select.one data target and then i will go to contents tap and then selective deletion for paricler requst ID...is correct to do selective deletion for particler data target out of 8 cubes..plz tell me
    2.in production ...while doing selective deletion ...aggregates are failed...means status is in red color...
    now,how can i create or build or rebuild those aggrgates again...please and my qns...
    Thanks in advance

    Hi
    1. technically Yes its ok to do selective deletion of only 1 cube, incase of delta load you will have to do selective reload to only that cube otherwise data for that perticular selection will get doubled in rest of 7 cubes.
    Actually depends on situation in which you plan to do so.
    2. its possible to aggreegates get affected due t selective deletion.
    Just go to manage->rollup tab of cube and rebuild agreegates.
    Hope this helps.
    Regards
    Sudeep

  • Navigational attr in aggrigates

    Hi
    I have Material type as an attribute of 0material and i checked material type as navigational attribute. i want to create an aggregate with material and material type(navigational attribute).
    is it possible ?
    when i tried to create it initially i got a message saying material type(navigational attribute) cannot be included as i have 0material in the aggregate.
    but still went ahead and created one. after activating the aggregate i do not see material type in the aggregate definition.
    any anyone throw some light on this issue pls
    thanks

    I just wonder what you would achieve by adding 0material and one of its navigational attributes in an aggregate. If you use 0material in the aggregat, it automatically contains all navigational attributes of 0material.
    It would only make sense to build an aggregate without 0material but with material type. Then, each time there is a query which depends on material type, it will use the aggregate.
    Kind regards,
    Jürgen

  • Oracle Procedure- Get aggrigate value based on comparing two columns

    Hi All,
    I have written a Procedure which accepts one input parameter and returns one refcursor.
    The logic used in the procedure is:
    The procedure is used to display summary as well as detail report. When the input parameter have more than one comma saperated values then it will act as a summary report and when there will be just one value as the input then it will act as a detail report.
    The input parameter is like 'AA12345,BB45434,HJ89736' the first two character is Brand_id and the rest of the 5 character is the propery_id.
    The aggrigation aggrigation query is :
    Select Month_name,Year,sum(REVPAR),Sum(ADR) from FIS_KPI_TREND where
    Brand_id='AA' and SIte_id='12345' group by Month_name,Year;
    The above query will worke fine for the Detail report when there will be just one value for the input as 'AA12345'.
    The problem is comming for the Summary report when I need to get the aggrigated value for all the brand and site which came in the input parameter.
    So i changed the query as:
    Select Month_name,Year,sum(REVPAR),Sum(ADR) from FIS_KPI_TREND where
    Brand_id||SIte_id in ('AA12345','BB45434','HJ89736')  group by Month_name,Year;
    (I'm using parser function to parse comma saperated values.)
    By doing this i'm getting the desired result but the performance has decrised as the Index is based on Brand_id and Site_id but i'm Using Brand_ID||Site_id for my search.
    Can any one suggest any other way to rewrite this query so that it can take the index as well as give me the sesired output.
    Database used : Oracle 10g
    Thanks in advance.
    Sumit Narayan
    Edited by: Sumit Narayan on Apr 11, 2010 10:00 PM

    I'd be inclined to do something like this to parse the comma separated list, which would allow you to join without concatenating columns like you're doing now.
    ME_XE?select
      substr(column_value, 1, 2)            as brand_id,
      substr(column_value, 3, length(column_value))   as site_id
    from table(sys.ODCIVARCHAR2LIST('AA12345','BB45434','HJ89736'));
      2    3    4 
    BRAND_ID   SITE_ID
    AA         12345
    BB         45434
    HJ         89736
    3 rows selected.
    Elapsed: 00:00:00.20
    ME_XE?
    ME_XE?select * from v$version;
    BANNER
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE  10.2.0.1.0  Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    5 rows selected.
    Elapsed: 00:00:00.39
    ME_XE?So for your case ...
    Select
      f.Month_name,
      f.Year,
      sum(f.REVPAR),
      Sum(f.ADR)
    from FIS_KPI_TREND f, table(sys.ODCIVARCHAR2LIST('AA12345','BB45434','HJ89736')) t
    where f.Brand_id = t.brand_id
    and   f.SIte_id  = t.site_id
    group by f.Month_name, f.Year;Edited by: Tubby on Apr 11, 2010 10:12 PM

  • Report Performance for GL item level report.

    Hi All,
    I have a requirements to get GL line items
    report based on GL Line items so have created data model like 0FI_GL_4->DSO-> cube and tested everything is fine but when execute in production the report performance is very bad.
    Report contains document number, GL act, comp.code, posting date objects.
    I have decided to do as follows to improve reporting performance
    ·         Create Aggregate on Document, GL characteristic
    ·         Compression.
    Can I do aggregates 1st then do the compression.
    Please let me know if I missing out anything.
    Regards,
    Naani.

    Hi Naani,
    First fill the Aggrigates then do Compression,run SAP_INFOCUBE_DESIGN Check the size of Dimension maintain Line item, High cordinality to the dimension, Set Cahe for query in RSRT,
    Try to reduce Novigational Attr in report. Below document may help you.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6071ed5f-1057-2e10-deb6-d3426fec0219?QuickLink=index&…
    Regards,
    Jagadeesh

  • Migration of Discoverer 1g reports to OBIEE

    we are trying to migrate reports from Discoverer 10g to OBIEE 10.1.3.4.We have migrated the EUL using the utility tool provided by OBIEE.
    Now we were trying to use the sample reports and migrate the same to OBIEE 10.1.3.4.
    We are using a sample xml which we will be using to migrate the reports .We have a web service which takes report inputs in this XML format, converts and save OBIEE reports.
    SInce OBIEE does not have tabs(worksheets) like Discoverer,we thought
    we will have to prepare xml for each tab and present it as a single
    report in OBIEE.
    1) Can u please suggest if this is right or there is some
    workaround for it or if anyone has idea about it?
    We could also do some changes to the xml to incorporate some functions of discoverer if anyone has suggestions.
    We are assuming that Crosstab reports are similar to Pivot tables in OBIEE.
    2) But we are not sure how to incorporate the page items in thexml.plz suggest if anyone has ideas since not sure if page items can be handled in OBIEE.
    3) Can someone help us in completing with this below xml by taking example of the sample reports present in discoverer.The values of reports are to be included in the xml
    Any help would be great since we are trying this for the first time and we are not well versed with xml too.Please find below the sample xml we are using
    - <OBIEE version="10.1.3.4">
    - <report Name="" subjectareaname="">
    - <!-- All the columns used in any of the views will be added here in critera
    -->
    - <filters>
    - <!-- Filter parameters
    type : logical/SQL
    if type = "logical"
    operator : logical operator if type is logical
    SQLName : Physical Table.Column name on which the filter is applied, if type is logical
    dataType : Data type of the column mentioned in SQLName
    VALUE : Value of the filter
    if type = "SQL"
    sqlExpression: filter SQL expression
    -->
    - <filter type="" SQLDefinition="" operator="" negate="" includeNULLs="">
    <filterValue dataType="">VALUE/sqlExpression</filterValue>
    </filter>
    - <!-- parentSection filter Expression and Name in case of HIR to OBIEE Migration
    -->
    <referenceFilterExpression Name="">FilterExpression</referenceFilterExpression>
    </filters>
    - <!-- column Prarameters
    ** SQLName : Physical Names of Table.Column [Column Definition]
    sort : asc/dsc
    Name : column name to be shown as
    datafunction : aggrigate function applied on the column
    showColumnTotal : True/False
    SuppressDuplicates: True/False
    ** is mandatory attribute on the column
    -->
    <titleView title="" subTitle="" logoURL="" />
    - <tableView Name="" ShowColumnTitles="false">
    - <!-- If no Group columns, BI table View will be generated, else Dashboard
    -->
    - <dimensions>
    <column Name="" SQLDefinition="" sort="" total="false" />
    </dimensions>
    - <facts>
    <column Name="" SQLDefinition="" aggRule="" />
    </facts>
    </tableView>
    - <pivotView Name="" ShowColumnTitles="false">
    - <page>
    <column Name="" SQLDefinition="" total="none" sort="desc/asc" visibility="" />
    </page>
    - <Section>
    <column Name="" SQLDefinition="" total="none" sort="desc/asc" visibility="" />
    </Section>
    - <rows total="none">
    <column Name="" SQLDefinition="" total="none" sort="desc/asc" visibility="" />
    </rows>
    - <columns total="none">
    <column Name="" SQLDefinition="" total="none" sort="desc/asc" visibility="" />
    </columns>
    - <measures>
    <column Name="" SQLDefinition="" aggRule="" visibility="" />
    </measures>
    </pivotView>
    <chartView Name="" />
    - <prompts>
    - <!-- Filter parameters
    operator : logical operator used in the prompt filter
    SQLName : Physical Table.Column name on which the filter is applied
    subjectArea : Subject Area Name into which the prompt belongs to
    promptcaption : Display Name of the Prompt
    promptDescription : Description if any
    -->
    <prompt SQLDefinition="" operator="" promptcaption="" promptDescription="" />
    </prompts>
    </report>
    </OBIEE>

    Hi,
    I opened the Discoverer administrator and clicked on export.
    in next step i selected the option "Selected obects in the end user layer" for "what do u want to export"?
    i choose workbook and selected the sample workbook "Video Tutorial workbook"
    Then i gave the name "Video Sales Tutorial" and saved the file in a folder and selected the check box "generate xml for exported workbooks"
    I got the file in the folder as Video Sales Tutorial.eex.That .eex file had details of the workbook name and all other information
    <UniqueIdent ConstraintName="DOC1" Batch="False" DeveloperKey="VIDEO_TUTORIAL_WORKBOOK"/>
    But to get these workbook details we have to always save the workbook in the DB.We cannot save the workbook in our file system.
    Am i right?Since only workbooks which are in DB can be exported.
    Thanks a lot for the info.Will try to analyze this information

  • SQL error, Error in SQL statement

    hi all,
    in our project we are using 0SD_C03. while  i creating aggrigates it's showining "SQL error" and Error in SQL statement.
    please provide me some inputs.
    sasidhar

    check:
    Aggregate issue
    Problems with BITMAPINDEX under ORACLE in BW
    SAP Note Number: 159779
    No 'Star Transformation' for a Hierarchy Changerun
    SAP Note Number: 934281

Maybe you are looking for

  • How do I link one button to two slices?

    Hello, I need some help please. How do I link one button to two slices? or combine two slices to make one slice, or make a true polygon shape out of the slices, it will make the polygon shape but it leaves the the red guide lines and I cant work unde

  • Date format changes in the middle of a program execution

    In my C code I have a series of select statements. When I first get a session to the database I use the following command to set the date format alter session set nls_date_format = 'MM/DD/YYYY HH24:MI:SS' It works fine for a few queries. After a whil

  • MS Office Professional 2010 outlook Problem

    When I start MS outlook 2010 I get a message (the connection to Microsoft exchange is unavailable. outlook must be online or connected to complete this action) I have installed MS Office SP2 but it did not work, kindly help to solve this problem

  • Old iPhone showing up in Share Sheet in Maps on Mavericks

    Hoping someone can help me here? I installed MAvericks and on the share sheet i have 3 devices showing for SEND TO IPHONE, SEND TO IPAD and SEND TO IPHONE 5S, the problem is only the iPad and iPhone 5S are valid devices.  The iPhone device was an old

  • 1 application 2 ejb 2 database connections

    Hello all. I have one application with 3 modules. 1 web module with jsps, working with ADF and jsf. 2 ejb modules, each one I need to connect to a different database. The problem is that the 2 ejbs are connecting to de first module's database, so the