Cube and aggregation

Hi All,
I have created a cube using OWB wizard. The aggregation tab applies to all measures of the cube, where as i want to apply aggregation at an individual measure. Any idea.
Jak.
Message was edited by:
jakdwh

Hi,
i have tried to assign differnet aggregation roles to differing measures within the OWB Cude editor without success.
I created a simple dimension with two measures one requiring a sum aggregation and one requiring an average aggregation. I can set them ok and vailidate ok but when I close the editor and re-open theey have bothe been set to the overall cube aggregation policy. Even if this is set to NOAGG they all become NOAGG. It seems there must be a flaw in the implementation of aggregation within OWB.
Anyone found a resolution or work-around? I came accross this wjhen trying to utilise degenerate dimension keys in the cube definition....
Robbie

Similar Messages

  • Adding commentary in ASO Cube and aggregating it to TOP Level

    Hi Gurus,
    I have one peculiar problem. We are adding commentary in BSO Planning cube now i have couple of problem related to it.
    a) These commentary needs to be pushed in ASO cube (Reporting) which need are entered in Lower Level.
    b) At top level these commentaried need to be Aggregated or rather Concatenated.
    eg.
    ProfitCentre has two child P1 and P2 and user enter commantary in BSO for P1 and P2 as "Market Risk Deviation" and "Standard Output"
    then in the HSPgetval Smartview report the conent of report will look like:
    Profit Centre          Market Risk Deviation + Standard Output
    P1                        Market Risk Deviation
    P2                        Standard Output.
    Any thoughts/ Suggestions/ Input/ Ways to achieve so
    Thanks
    Anubhav

    Apart from what Glenn suggested
    Not out of box, you are looking at a JAVA API + SQL based solution here
    Here are my thoughts
    Either use a Select query and get the Text values and IDs from the tables HSP_CELL_TEXT (or HSP_TEXT_CELL) table
    Create a Java API, which can import a TextList in ASO cube, ID is going to be what you get from the table
    Load the data to ASO from Planning
    Now for the aggregation/concatenation part, you'll have to Add those as again Smart List, This can be done by looking at HSP_CELL_TEXT (or HSP_TEXT_CELL) table, there is an ID associated with each text, get the id associated
    So for example Market Risk Deviation is 1 and Standard Output Deivation is 2, then you should add Market Risk Deviation + Standard Output as 3, however you'll have to make sure that there is no entry from Planning for 3
    It is complicated
    Regards
    Celvin Kattookaran

  • MDX query with DMV to get all cubes and aggregation row count on SSAS engine

    Hi All,
    How can I get all cube names  on a SSAS engine server and count of number of aggregation rows in each cube ?
    I got a DMV where it shows all catalogs names and description but where can I found aggregation row count of each cube.
    Please let me know, thanks in advance.
    Maruthi...

    Hi Maruthi,
    Please check below link, hope this will help you.
    SSAS 2008 CTP6 – new DMV $SYSTEM. DISCOVER_ OBJECT_ ACTIVITY
    lists the memory usage and CPU time for each object i.e. cube, dimension, cache, measure, partition, etc. They also show which aggregations were hit or missed, how many times these objects were read, and how many rows were returned by them:
    Discover_object_memory_usage and discover_object_activity
    select * from $system.discover_object_memory_usage
    select * from $system.discover_object_activity
    Thanks
    Suhas
    Mark as Answer if this resolves your problem or "Vote as Helpful" if you find it helpful.
    My Blog
    Follow @SuhasKudekar

  • Regarding Info cube and DSO

    Hi,
    Generally reporting will be done on Info Cube rather than DSO.
    Suppose If we assign the same data source to Info Cube and DSO then both contains the same data.
    Info cube have additive and aggregated functionality where DSO have the overwrite functionality .
    Are we using cube for this functionality only ?
    What about the Dimensions in Cube how they differ from data fields and key fields in DSO when we are developing same Bex Report on both ?
    Please advice me .
    Thanks in advance.
    Thanks & Regards,
    Ramnaresh.p

    It is hard to compare Cube and DSO.
    Both thier own usage.
    1. InfoCube is always additive, while DSO supports overwrite functionality.
    2. In InfoCube, combination of all the characteristic value is a Key in the Fact Table, while in ODS, you can specify your own Key Fields based on which you want to generate unique record in the DSO.
    3. DSO supports many delta modes like D, R, N, X, after image, before image, while cube does not support all the modes. You can not delete the record based on the key from the cube by just loading the data. While DSO automaitcally deletes the record from active table and generates the reverse entry for Cube.
    4. DSO is a flat structure and therefore, it is used to store information at detail level, while cube is used to store information at aggregated level.
    So both the structures are very much different from each other. One can replace other at some places, but both the objects have thier own functionality.
    - Danny

  • The effect of cube and rollup function

    1. For under 500,000 in Oracle 9i, rollup is faster than cube.
    But above 1,000,000, cube is faster than rollup.
    Right?
    2. Why do rollup(a) and cube(a) all have a parameter?
    3. Under only one parameter, the compute process of cube and rollup is not the same, right?
    Thx.

    >
    1. For under 500,000 in Oracle 9i, rollup is faster than cube.
    But above 1,000,000, cube is faster than rollup.
    Right?
    >
    Rollup summarises data differently to cube, so to say one is faster or slower than the other is not a question one should consider necessarily.
    The main consideration should be in what format you would like the result set to be in.
    http://download.oracle.com/docs/cd/E11882_01/server.112/e16579/aggreg.htm#DWHSG8609
    http://download.oracle.com/docs/cd/E11882_01/owb.112/e10935/dim_objects.htm#WBETL03002
    >
    2. Why do rollup(a) and cube(a) all have a parameter?
    >
    The parameter(s) refers to the Grouping against which the data is summarised.
    The Oracle documentation states the following:
    >
    CUBE takes a specified set of grouping columns and creates subtotals for all of their possible combinations
    >
    So both rollup and cube could summarise across a group of column(s).
    >
    3. Under only one parameter, the compute process of cube and rollup is not the same, right?
    >
    Correct, depends what you want to summarise against.

  • Cube and rollup

    How to use cube and rollup what are they exactly...

    Hi,
    They are aggregate functions.
    Here's a nice explanation:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1512805503041
    See also:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14223/aggreg.htm#sthref1669

  • Cube with aggregation more slow that a cube without aggregation

    Hi,
    I have a SSAS 2012 database that I am trying to tune to give more performance.
    I improve several best practices like define attribute relationships between attributes and also create aggregations (with bids helper) to try so tune the speed of the query.
    But every time I compare my Cube with the old without aggregations the times are almost the same.
    I run the Sql profiler and I saw that the aggregations are used but at the end a Query Subcube is always done I increase the duration of the query.
    If my query can get all from the aggregation it's usual to do at the end a Query SubCube ?
    In the Old Cube no aggregations are used and all information is used by the partition and query Subcube.
    Thanks,
    Manuel Gomes

    Hi Gomes,
    If I understanding correctly, you encounter performance issue when using SQL Server Analysis Services. Since not know the structure of you SSAS database, it hard to give your the root reason that cause the performance issue. I'd suggest you enable SQL
    Sever profiler to monitor the queries fired by the process, once you find some queries took a very long time to run, consider creating the smaller cube partition or optimzing the query by adding index or partition to improve the query performance.
    Here are some links about performance tuning, please see:
    http://www.mssqltips.com/sqlservertip/2565/ssas--best-practices-and-performance-optimization--part-1-of-4/
    http://technet.microsoft.com/en-us/library/cc966527.aspx
    Hope this helps.
    Regards,
    Charlie Liao
    TechNet Community Support

  • What is detailed report and aggregated report

    Hi gurus,
    We generally tell cube gives the aggregated report and ODS gives detail report could any body tell me what exactly meaning behind there
    Please give me a good example for make me good under stand..
    Thanks in the advance
    Kiran
    Edited by: kiran kumar on Jan 16, 2008 10:34 AM
    Edited by: kiran kumar on Jan 16, 2008 10:35 AM

    Hi,
    aggreagted and detaliled are ways to mention how data is stored.
    when you stay data is summarized..it means...you have each and every record in source present in the same format as in BW.
    This is possible only if the data stored in the R/3 table is stord in BW in another table with the same keys or make sure the keys are in a way that you can identify each and evry record.
    This canbe dome through DSO as it has keys and you can make it load all the data in R/3 in exactly the same way.
    In case of cube you dont have any cubes and you have no control on aggregation of values also...so if 10 chars are same then key figues will add up.Generally cubes are specific with less number chars then DSO.
    if you want you can put lot of char and do reporting onto it.
    So if want each and very detail go for something whic stores data at the detailed level that is DSO.
    for aggregated so for cube since it aggrgated the data if the records repeat.
    I hope thats clear
    Thanks
    Ajeet

  • Key Figures and Aggregation options

    Hi All,
    There are three aggregation options:Minimum,Maximum,Sum on the Aggregation Tab when creating a Key Figure  on the Admin Work Bench. I understand that these aggregation rules are set for the Key figure BEx default settings. Does this affect at all how the data is loaded into the cube?
    Another question. If I have a Key Figure that I have set to Maximum, and would like to change to Sum.. Do I need to unload the data in the cube and load it again?
    Thanks.

    > There are three aggregation
    > options:Minimum,Maximum,Sum on the Aggregation Tab
    > when creating a Key Figure  on the Admin Work Bench.
    > I understand that these aggregation rules are set for
    > the Key figure BEx default settings. Does this affect
    > at all how the data is loaded into the cube?
    Indeed: these are report relevant settings only.
    > Another question. If I have a Key Figure that I have
    > set to Maximum, and would like to change to Sum.. Do
    > I need to unload the data in the cube and load it
    > again?
    I'm not sure about this one: Since it's a report-relevant setting only, i wonder there would be a reason why all the cubes where the KF is used should be empty...
    (you can always change the setting directly in table RSDKYF, field AGGRGEN)

  • How to Maintain Cube without Aggregating the incoming data

    Hi All,
    I have a process which loads a cube and then aggregates the incoming data. The PL/SQL procedure is as below.
    CREATE OR REPLACE PROCEDURE load_actual AS
    xml_clob clob;
    xml_str varchar2(4000);
    isAW number;
    begin
    DBMS_LOB.CREATETEMPORARY(xml_clob,TRUE);
    dbms_lob.open(xml_clob, DBMS_LOB.LOB_READWRITE);
    dbms_lob.writeappend(xml_clob, 183, ' <BuildDatabase Id="Action4" AWName="FIN_AW.FINAW" BuildType="EXECUTE" RunSolve="true" CleanMeasures="false" CleanAttrs="false" CleanDim="false" TrackStatus="true" MaxJobQueues="0">');
    dbms_lob.writeappend(xml_clob, 42, ' <BuildList XMLIDref="ORG_ACTUAL.CUBE" />');
    dbms_lob.writeappend(xml_clob, 18, ' </BuildDatabase>');
    dbms_lob.close(xml_clob);
    xml_str := sys.interactionExecute(xml_clob);
    dbms_output.put_line(xml_str);
    end;
    As per my requirement I have to flip sign for some leaf level dimensions after the cube load and then re run the aggregate. If I go with this script I will end up aggregating my data twice.
    My question is how do I modify this script so that the records are loaded in the cube but the aggregate does not run.
    I tried by changing RunSolve="true" parameter as below but still it is solving the data.
    dbms_lob.writeappend(xml_clob, 184, ' <BuildDatabase Id="Action4" AWName="FIN_AW.FINAW" BuildType="EXECUTE" RunSolve="false" CleanMeasures="false" CleanAttrs="false" CleanDim="false" TrackStatus="true" MaxJobQueues="0">');
    My cubes are compressed, partitioned and I am using Oracle 10.2.x.
    Please provide your suggestions if I missing something here ?
    Thanks,
    Vishal

    10g Cubes have a property called 'AutoSolve'. As far as I understand, if this is set to YES, then the aggregation will happen automatically whenever you build the cube. I may be missing something, but the RunSolve property of the BuildDatabase command does not seem to be used.
    In AWM the "AutoSolve" property appears to correspond to the check box
    "Use Default Aggregation Plan for Aggregation"
    in the "General" tab for the cube. In order to uncheck this you also need to uncheck "Use Compression" on the "Implementation Details" tab.
    As an example, I created a cube named C1 with the box checked and then exported the XML.
    <Cube Name="C1" LongName="AMERICAN::C1" ShortName="AMERICAN::C1" PluralName="AMERICAN::C1" Id="C1.CUBE" Schema="GLOBAL" UseGlobalIndex="false" SparseType="COMPRESSED" DefaultDataType="NUMBER" AutoSolve="YES">
    I then created cube C2 with it unchecked.
    <Cube Name="C2" LongName="AMERICAN::C2" ShortName="AMERICAN::C2" PluralName="AMERICAN::C2" Id="C2.CUBE" Schema="GLOBAL" UseGlobalIndex="false" SparseType="STANDARD" DefaultDataType="NUMBER" AutoSolve="NO">
    The compression check is enforced by AWM. I hand modified the XML for cube C1 to switch AutoSolve to NO and used it to recreate the cube without errors (as a compressed cube). I don't know if there will be any issues downstream.

  • Difference between Compression and Aggregation

    Hi,
      Can anybody explain the Difference between Compression and Aggregation.Performance wise which is better and explain me in detail.
      Thnaks,
      Chinna

    Hi,
    suppose you are having three charecteristics in a cube say X,Y,Z..
    Even for the records which are having the same combination of these charecteristics but are loaded with different request they won't get aggregated.
    So when you go for compression the records , it deletes the request number, and aggregates the records which are having the same combination of these records.
    Coming to the aggregates , if you build a aggregate on the charectaristic say 'X' then it aggregates the records which are having the same value for a particular charecteristic.
    ex: say you are having the recrds as
    x1, y1 ,z1......(some key figures)
    xi, y2,z1,.....
    x1,y1,z1,....
    x3,y3,z3...
    If you compress them, you will get three records.
    If you go for aggregates based on the charecteristic 'X' you will get two records.
    So aggregates will give more aggregate level of data than compression
    regards,
    haritha.

  • Can't view my Cube and Dimension Data with the Cube Viewer

    I'm new in using OWB, i'm using Oracle 10g release1 with OWB R2 also Oracle WorkFlow 2.6.3.
    When studying with the steps from the OTN pages (start01, flat-file02, relational-wh-03, etl-mappings, deployingobjects, loading-warehouse and bi-modeling)
    the loading was success, i guess...
    But when I want to see the data in the cube and dimension, an error occurs.
    It says
    " CubeDV_OLAPSchemaConnectionException_ENT_06952??
    CubeDV_OLAPSchemaConnectionException_ENT_06952??
         at oracle.wh.ui.owbcommon.dataviewer.dimensional.DataViewerConnection.connect(DataViewerConnection.java:115)
         at oracle.wh.ui.owbcommon.dataviewer.dimensional.DimDataViewerMain.BIBeansConnect(DimDataViewerMain.java:433)
         at oracle.wh.ui.owbcommon.dataviewer.dimensional.DimDataViewerMain.init(DimDataViewerMain.java:202)
         at oracle.wh.ui.owbcommon.dataviewer.dimensional.DimDataViewerEditor._init(DimDataViewerEditor.java:68)
         at oracle.wh.ui.editor.Editor.init(Editor.java:1115)
         at oracle.wh.ui.editor.Editor.showEditor(Editor.java:1431)
         at oracle.wh.ui.owbcommon.IdeUtils._tryLaunchEditorByClass(IdeUtils.java:1431)
         at oracle.wh.ui.owbcommon.IdeUtils._doLaunchEditor(IdeUtils.java:1344)
         at oracle.wh.ui.owbcommon.IdeUtils._doLaunchEditor(IdeUtils.java:1362)
         at oracle.wh.ui.owbcommon.IdeUtils.showDataViewer(IdeUtils.java:864)
         at oracle.wh.ui.owbcommon.IdeUtils.showDataViewer(IdeUtils.java:851)
         at oracle.wh.ui.console.commands.DataViewerCmd.performAction(DataViewerCmd.java:19)
         at oracle.wh.ui.console.commands.TreeMenuHandler$1.run(TreeMenuHandler.java:188)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100) "
    Can somebody explain what is happening, I really don't understand, when the cube viewer window appears, there's no data in it....
    I realy need help with this...

    I'm new in using OWB, i'm using Oracle 10g release1 with OWB R2 also Oracle WorkFlow 2.6.3.
    When studying with the steps from the OTN pages (start01, flat-file02, relational-wh-03, etl-mappings, deployingobjects, loading-warehouse and bi-modeling)
    the loading was success, i guess...
    But when I want to see the data in the cube and dimension, an error occurs.
    It says
    " CubeDV_OLAPSchemaConnectionException_ENT_06952??
    CubeDV_OLAPSchemaConnectionException_ENT_06952??
    at oracle.wh.ui.owbcommon.dataviewer.dimensional.DataViewerConnection.connect(DataViewerConnection.java:115)
    at oracle.wh.ui.owbcommon.dataviewer.dimensional.DimDataViewerMain.BIBeansConnect(DimDataViewerMain.java:433)
    at oracle.wh.ui.owbcommon.dataviewer.dimensional.DimDataViewerMain.init(DimDataViewerMain.java:202)
    at oracle.wh.ui.owbcommon.dataviewer.dimensional.DimDataViewerEditor._init(DimDataViewerEditor.java:68)
    at oracle.wh.ui.editor.Editor.init(Editor.java:1115)
    at oracle.wh.ui.editor.Editor.showEditor(Editor.java:1431)
    at oracle.wh.ui.owbcommon.IdeUtils._tryLaunchEditorByClass(IdeUtils.java:1431)
    at oracle.wh.ui.owbcommon.IdeUtils._doLaunchEditor(IdeUtils.java:1344)
    at oracle.wh.ui.owbcommon.IdeUtils._doLaunchEditor(IdeUtils.java:1362)
    at oracle.wh.ui.owbcommon.IdeUtils.showDataViewer(IdeUtils.java:864)
    at oracle.wh.ui.owbcommon.IdeUtils.showDataViewer(IdeUtils.java:851)
    at oracle.wh.ui.console.commands.DataViewerCmd.performAction(DataViewerCmd.java:19)
    at oracle.wh.ui.console.commands.TreeMenuHandler$1.run(TreeMenuHandler.java:188)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100) "
    Can somebody explain what is happening, I really don't understand, when the cube viewer window appears, there's no data in it....
    I realy need help with this...

  • What is the diff b/w transactional cube and std cube

    What is the diff b/w transactional cube and std cube

    Hi Main differences,
    1) Trasactional infocube are optimized for writing data that is multiple user can simultaneously write data into it without much effect on the performance where as the std infocube are optimized to read the data ie.e through queries.
    2) transactional inofcubes can be loaded through SEM process as well normal laoding process.Std can be loaded only thorugh normal loading process.
    3) the way data is stored is same but the indexing and partionong aspects are different since one is optimized for writing and another one for reading.
    Thanks
    Message was edited by:
            Ajeet Singh

  • Doughts on Infoset Joins with Cube and DSO in BI 7

    Dear All,
    I have a droughts on Infoset Joints.
    I am working on a BI Query where I need to take 0Employee from Cube and Employee position time he holds in an Organization is coming form DSO, Apart for this I also have other requirement such as Address fields , Visa Status , are all coming from DSO.
    I have created a Infoset for this where
    1st is Cube and its 0Employee is linked to all DSO Employee and also Employee position I have linked with DSO and all are inner joints.
    1>My doughty is that will this work with inner joins or I have to use other joints.
    2>Is sequence of Data Target is correct
    which is
    1> Cube and in 2> all DSO in Parallel.
    Please guide me on joints and sequence.
    Thanks V V much in Advance,
    Regards,

    Hi,
    Check these links.
    http://help.sap.com/saphelp_nw04s/helpdata/en/ed/084e3ce0f9fe3fe10000000a114084/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2f5aa43f-0c01-0010-a990-9641d3d4eef7
    http://help.sap.com/saphelp_nw04/helpdata/en/9c/6b7538c9a8ee45e10000009b38f8cf/frameset.htm
    if this helpa assign points.
    Thanks.....
    Vasu.....

  • BI 7.0 can we build a INFOSET on a Multi Cube and Infoobject

    Hi
    In BI 7.0 can we build a INFOSET on a Multi Cube and Infoobject
    Thanks

    Hi,
    No not possible.
    You can include any DataStore object, InfoCube or InfoObject of type Characteristic with Master Data in a join. A join can contain objects of the same object type, or objects of different object types. You can include individual objects in a join as many times as you want. Join conditions (equal join condition) connect the objects in a join to one another . A join condition specifies the combination of individual object records included in the results set.
    For more info go through the link below
    http://help.sap.com/saphelp_nw2004s/helpdata/EN/ed/084e3ce0f9fe3fe10000000a114084/content.htm
    Regards,
    Marasa.

Maybe you are looking for

  • Making Code Backward Compatible (SDK 1.4 - 1.3)?

    In SDK there is a method added in Toolkit class: "public void setDynamicLayout(boolean dynamic)". Is it possible to generate code which is compatible no matter if the bytecode runs on a 1.3 VM or a 1.4 VM? I would like to do something like (pseudocod

  • PLSQL sample for searching a file name in the server

    Hello All, what plsql package i need to use or any plsql sample code available for searching a file name in the server. For example If I provide any text "XX%", the plsql code should provide me the list of file names in a specific folder in server. I

  • BAPI_PO_CHANGE Limitations

    Hello Experts, I have a tool for creating contracts. In this tool i have a purchase order created or changed. On many occasions am changing or adding line items to this purchase order. I am using BAPI_PO_CHANGE. Now the question i have is, whether th

  • IPhone texting showing up green still?

    I understan that by downloading the latest version of iTunes, I should have been able to text back and forth with other iPhone users for free?  Plus, they should show up in blue text.  Mine are still showing up as green after the download.  Any thoug

  • Dynamically expand a Web Dynpro TRAY

    Hi Guys, Do you know how to expand a Tray Dynamically. I like to start with a unexpanded TRAY and after the SEARCH, I like to expand the TRAY dynamically. Thanks, Ridouan.