Dynamic calculation with transparent partition

suppose i have 2 transparent partitions, one point to A essbase, to get base data, the other point to B essbase,
to get adjustment data, can i setup a dynamic formula in target essbase like this: total=base+adjustment?

You would have to do it the same way you would if the data was all in one cube. You will have to have either a dimension or member rollup with "after Adjustment" = "Before Adjustment" + "Adjustment".
All the partioning does is get the adjustment data from your "B" cube - it still must have its own "home" in the top cube where the dynamic calc happens.
To put it another way every target cell in the target cube must come from one and only one source cell - no addition of multiple sources as it flies throught the transparent partition definition. (note that a source cell can go to multiple target cells).

Similar Messages

  • MDX / BSO calculations with transparent partitions - Recursive reference

    Hi Everyone,
    I am using Essbase v11.1.2 and have an empty ASO cube that has transparent partitions to several ASO source cubes. However, I would like to use MDX in the target ASO cube to pull data from one cube, but make it available to all queries from other cubes.
    Eg. Empty Target ASO cube TrgtASO has VOLUMEmetric and versions Ver1, Ver2 and Ver3. I have 3 ASO source cubes for each version.
    SrcASO1 is only cube with volume data
    SrcASO2
    SrcASO3
    I had created a metric called "Vol-All versions" in the TrgtASO cube and tried to use MDX fornula ([Version].[Ver1],[Measures].[VOLUME]) so that no matter what version is selected, the data will always be from SrcASO1.
    It works if I have all data in one cube and load data only into Ver1. However, for performance and query reasons, I need to put each version into it's own cube.
    My question is do transparent partitions allow recursive retrieval of data?
    I.e. If I log into TrgtASO cube and pull metric "Vol-All versions" but have either Ver2 or Ver3 as the version, is there an MDX formula that will pull the volume from Ver1 cube?
    Any assistance would be greatly appreciated.

  • Combine 2 cubes with transparent partition but failed in cell count match

    I have 2 cubes:
    Cube A DIMENSIONS(YTD, YEAR, PRODUCT, LOCATION) + MEASURES
    Cube B DIMENSIONS(YTD, YEAR, PRODUCT, LOCATION, BE_TYPE) + MEASURES
    Both cubes have the same YTD AND YEAR.
    It is comparable for A.PRODUCT,GEN2 VS B.PRODUCT,GEN3
    It is comparable for A.PRODUCT,GEN5 VS B.PRODUCT,GEN6
    It is comparable for A.LOCAITON,GEN2 VS B.LOCATION,GEN5
    It is comparable for A.LOCATION,GEN5 VS B.LOCATION,GEN5
    Most measures have the same name between 2 cubes.
    Some are not.
    Now I need to combine 2 cubes into 1 for OBIEE usage.
    Criteria:
    1. Include all YTD and YEAR
    2. Combine A.PRODUCT,GEN2 & B.PRODUCT,GEN3
    3. Combine A.PRODUCT,GEN5 & B.PRODUCT,GEN6
    4. Combine A.LOCATION,GEN2 & B.LOCATION,GEN2
    5. Combine A.LOCATION,GEN5 & B.LOCATION,GEN5
    6. All data from Cube B are selected with B.BE_TYPE = 'TYPE_A'
    7. Combine ALL MEASURES FROM 2 CUBES.
    So, I am working on transparent partition with source = Cube B and target Cube A inside EAS.
    However, I cannot match the cell counts.
    Do you have suggestions? Any hints on my cases?

    thanks, in my case,
    YTD and YEAR contain the same members and names.
    Number of measures of two cubes are the same.
    However,
    1. A.PRODUCT,GEN2 & B.PRODUCT,GEN3
    2. A.PRODUCT,GEN5 & B.PRODUCT,GEN6
    3. A.LOCATION,GEN2 & B.LOCATION,GEN2
    4. A.LOCATION,GEN5 & B.LOCATION,GEN5
    the number of members of 2 cubes are not the same. Since the Product ID contained in A.PRODUCT,GEN5 is the not same in B.PRODUCT,GEN6. Infact I wonder how I can make them matched. It is because my purpose is to combine all these different product into one dimension (just like union them into one column), so their number must not match.
    Am I correct? How can I handle this case?

  • ASO to BSO Transparent Partition problem

    Hi,
    I am doing a partition from ASO(Source) to BSO(Target). Outlines are same except one dimension:
    Aso cube
    dimension has 10 Level 0 members in Level 1.
    BSO cube
    Same dimension has 2 level 0 members(these 2 members are same as in ASo) in Level 1.
    Do rest 8 members be available while retrieving data in BSo cube? [Right now when i connect can only see 2 members]
    Was wondering with Transparent partition is it possible to see the additional outline members in BS ?.
    Any help to clarify would help thanks.

    I think i am understanding your question.
    A user will only "see" what members/dimensions are in the Target cube. You would need to add the other 8 members to the target outline to be able to pull the data for them from the source cube.

  • Synchronisation of Transparent partitioning throught AAS

    I am having problem synchronizing two databases with Transparent partitioning.
    If I try to do it through MAXL script it works perfectly fine but when I try to do it manually using AAS (9.3.0) it throws an error
    Error : Partition does not exist - 'can't be found in local partition definition file'
    Any suggestions?

    Hello Martin,
    Thanks for the info. Now, I am able to understand...:)
    You consider following and check if the error message is resolved:
    1. If executing the MaxL script from client machine, add the Essbase Server IP addresses to the Hosts file of the Client machine
    2. Edit the essbase.cfg file and add the following:
    NODENAME
    NO_HOSTNAME_LISTCONNECT TRUE
    3. If using EAS console, and if Essbase server is NOT added explicitly with port number .i.e. HOSTNAME:PORT then please do so:
    ServerName:PortNumber (for example Localhost:1423)
    If using MaxL, connect to Essbase Server in the above format.
    4. Try connecting to Essbase Server using IP Address.
    If nothing above works, then you can suspect that the partition is corrupt. Then try the following:
    1. Rename or delete the .ddb files from the source and target database directories.
    2. Stop and Start the source and target databases.
    Hope it helps...
    KosuruS
    P.S: If this is helpful, Please mark it :)

  • Transparent partition and Dynamic Calculation

    I've setup a target cube which collect the results from two different source cubes: one for historical data, the other one for the current period. I've put formulas on accounts in the target cube. Those formulas refer to both historical and current periods. Those accounts are also set in the source cubes as dynamic calculated. But even by setting them as stored members, the target dynamic calculated members do not take the precedence. How to solve this ? <BR><BR>Stéphane

    <blockquote>quote:<br><hr><i>Originally posted by: <b>stephane.huber</b></i><BR>I've setup a target cube which collect the results from two different source cubes: one for historical data, the other one for the current period. I've put formulas on accounts in the target cube. Those formulas refer to both historical and current periods. Those accounts are also set in the source cubes as dynamic calculated. But even by setting them as stored members, the target dynamic calculated members do not take the precedence. How to solve this ? <BR>Stéphane<hr></blockquote><BR><BR>Stéphane,<BR>The quickest solution is to modify your mapping so that all of the dynamic calcs are in the target partition. In other words, limit the scope of the accounts dimension in the partition so that none the dynamic calcs are in the source of the partition. This means making a subset of the accounts dimension that includes only those accounts with data and not those that are dynamically calculated.<BR><BR>If you have an accounts dimension with three members: COGS (loaded), Sales(Loaded), and Margin (dynamic calc: Sales - COGS), the source partition should only include COGS and Sales, not Margin, allowing the margin calculation to occur in the target cube.

  • Slower processing in a cube with a transparent partition?

    I have a database that includes some scenarios that are the targets of transparent partitions.<BR><BR>I have found that the database loads data more quickly without the partitions in place. The calc all also seems to go more quickly.<BR><BR>Has anyone ever encountered this?<BR><BR>Jared

    Thanks for your answer but, if the same value of the characteristic I want to count comes from both update rules, will the counter value be 2? in my case, value of 2 would be wrong.
    Thanks,
    Inma

  • Issue in ASO to BSO TRANSPARENT PARTITION

    Hi Techies,
    We are facing issue in ASO to BSO Transparent Partition. Please see below details and suggest.
    1. we are having a ASO cube transparently partitioned on to BSO cube.
    2. In ASO cube, we have a dimension with 3 hierarchies under it which are strored hierarchies. when we retrieve data for this hierarchies from BSO cube we are getting data.
    3. Now we were asked to add one more stored hierarchy under the same dimension, we built the dimension and built aggregations based on the queries. After creating the partition we are not able to retrieve the data from BSO cube for the newly added stored hierarchy everything else is working fine as before. The following is the error am getting when I tried to retrieve data for the newly built stored hierarchy.
    1012704 Dynamic Calc processor cannot lock more than number ESM blocks during the calculation, please increase CalcLockBlock setting and then retry (a small data cache setting could also cause this problem, please check the data cache size setting).
    I increased CALCLOCKBLOCK in .cfg file , increased data cache size and bounced the server. Even now am getting the same error. Please suggest what else we can do with this kind of error

    Did the number of blocks that couldn't be locked decrease when you increased the data cache if so try increasing the data cache some more, make sure you restart the db after each change.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Calculate cubes using transparent partitions

    hello,since I have had a transparent partition to my cube (my cube is the target) the calculation duration increases dramaticaly although the calc script do not fix on the members used in the partition.Have you already met this problem? Is it possible to define particular parameters to avoid this increase?many thanks for your help!

    I have hesitated to suggest this because it involves changing more than your environment and calc, and it may not even be appropriate for you, but it would definitely help if you can do this.Instead of having 2 cubes, use 3 (ouch). The current cube becomes a facade to the two source cubes that contain data, call this CUBE_Facade, and also copy it to CUBE_SRC_Current (dropping the members mapped to CUBE_Source), and then CUBE_Source becomes CUBE_SRC_History. You should get the idea from this layout.Now for the calc. You wouldn't perform this on CUBE_Facade, but directly on CUBE_SRC_Current. If you further want to ensure that users don't interfere, you could temporarily drop the partition, but for a 3 minute calc I doubt this is a concern for you (if it is, you should also know doing it this way is a lot easier and cleaner than trying to kick users off and disabling logins). Security would also be associated with the facade, but it doesn't hurt to set it on all cubes (the users would have the ability if not the knowledge to connect to the source cubes, after all).Aside from the approach above, I can only surmise that perhaps the fix that limits your calc to the current portion (time/scenario?) doesn't account for variance formula's (even if dynamically calculated?). A solution for this may exist be making them stored (another ouch), and calculating them in a script instead of with a formula? I'm only guessing that this might help, or that the situation even applies.

  • DynCalc And Transparent Partitions

    Following Problem:We have a big cube (13 dimensions!!!)covering 5 years of data, which i build up every month (for performance reasons). The 5 years are members of a separate (sparse) dimension.I also have a scenario dimension (sparse) including members like actual, forecast, LastYear (DynCalc), variance (Dyncalc),...Now I think of splitting the cube in 5 single cubes, one for each year (including the scenarios actual and forecast) that should serve as the data sources in a transparent partition.The data target should be a cube with all 13 dimensions (including all years!) and all scenarios (incl. the dynamically calculated ones). Unfortunately a retrieve on e.g. the member "lastyear" (DynCalc) shows a very low performance!Any ideas?(BTW: all 13 dimensions are necessary....)

    Depending on how much physical memory you have, bump up your Index Cache. You will also want to bump up your CALCCACHEHIGH to 199999999. Refer to this setting in all your memory intensive calc scripts. Unfortunately, using transparent partitioning adds a layer of overhead to data retrieves. If you have ample storage space, try changing the member option to dynamic calc and store. This will help out the performance for next user who retrieves this data. I have a very similar model. Less dimensions but some huge hierarchies.

  • Dynamic calculations in a materialized view

    Hi,
    I have a problem. I created a materialized view which works perfectly. But now I need to perform some calculations with the data in my view . The view contains the working hours of employees who worked in different projects. Every project has a fixed amount of time (time_available) in which the employee has to finish the project. I aggregated the working hours to month for better presentation. What I want to accomplish here is a "simple" subtraction of "fixed amount for a project" minus "working hours" for the employee.
    The problem here is that some project have duration of more that just one month. Naturally all my values are in one tuple for every month. So when I have 3 month of working hours for a project my view looks like this:
    MV_Working_Hours:
    Project --- Time_Available --- DATE --- Employee --- Working Days
    Project A --- 50 Days --- 2011-05 --- Mr. A --- 15 Days
    Project A --- 50 Days --- 2011-06 --- Mr. A --- 16 Days
    Project A --- 50 Days --- 2011-07 --- Mr. A --- 16 Days
    What I want to do is to calculate the remaining days like this :
    Project --- Time_Available --- DATE --- Employee --- Working d in Month ---reaming days
    Project A --- 50 Days --- 2011-05 --- Mr. A --- 15 Days --- 35 Days
    Project A --- 50 Days --- 2011-06 --- Mr. A --- 16 Days --- 19 Days <--- I get here 34 which is for my need wrong !!!
    Project A --- 50 Days --- 2011-07 --- Mr. A --- 16 Days --- 3 Days
    Is there a way to realize this with "just" sql or do I have to use pl/sql in the OWB? I use the OWB version 11gR2
    thx

    For everybody who is confronted with the same problem I have - here is the solution: (thx to "spencer7593" and "Justin Cave" from StackOverflow)
    SUM( "Working Days" )
    OVER (PARTITION BY "Product", "Employee"
    ORDER BY "DATE"
    ROWS UNBOUNDED PRECEDING)
    and please check out the link from oracle for _"SQL for Analysis and Reporting"_: http://download.oracle.com/docs/cd/E14072_01/server.112/e10810/analysis.htm

  • Dynamic action with set value on date field

    Hi,
    I'm using APEX 4.02
    I'm trying to calculate the age based on the date of birth dynamically on a form. I'm trying to do this with a (advanced)dynamic action with set value.
    I'm able to get this kind of action working based on a number field etc, but NEVER on a date field.
    I've read all posts on this subject but so far no solution. Even if I try to simply copy the value over to another date field or typecast it to a string ( to_char function ) it does not work. So for me the problem seems to be in the source field being a date field.
    I've tried using the source value as is in a select statement :
    select :P33_GEBOORTEDATUM from dual;
    and also type casted based on the date format :
    select TO_DATE(:P33_GEBOORTEDATUM,'DD-MON-YYYY') from dual
    but still no luck.
    On the same form I don't have any issues as long as the calculation is based on number fields, but as soon as I start using dates all goes wrong.
    Any suggestions would be greatly appreciated. If you need any extra info just let me know.
    Cheers
    Bas
    b.t.w My application default date format is DD-MON-YYYY, maybe this has something to do with the issue .... ?
    Edited by: user3338841 on 3-apr-2011 7:33

    Hi,
    Create a dynamic action named "set age" with following values.
    Event: Change
    Selection Type: Item(s)
    Item(s): P1_DATE_OF_BIRTH
    Action: Set value
    Fire on page load: TRUE
    Set Type: PL/SQL Expression
    PL/SQL Expression: ROUND( (SYSDATE - :P1_DATE_OF_BIRTH)/365.24,0)
    Page items to submit: P1_DATE_OF_BIRTH
    Selection Type: Item(s)
    Item(s): P1_AGE
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • Problem in aligning dynamic UI with the static UI

    Hi All,
    I have problem in aligning dynamic UI with the static UI, I am using Matrix layout.
    Static fields are spread over 2 colums and 3 rows:
    lableA SPACE input field SPACESPACE lable B SPACE input field
    lableC SPACE dropdown SPACESPACElableD SPACE dropdown
    lableE SPACE dropdown SPACESPACElableF SPACE dropdown
    Now when a value is selected in C, than E becomes visible, and depending on the values selected in E, there are dynamic UI generated, i.e dynamic lables and depending on some validation it will be either a dropdowns or input fiels or both.
    at run time screen is like this:
    lableA SPACE input field SPACESPACE lable B SPACE input field
    lableC SPACE dropdown SPACESPACElableD SPACE dropdown
    lableE SPACE dropdown SPACESPACElableF SPACE dropdown
    dynaSPACEdropdown
    dynbSPACEinput field
    if I change my selection in E than layout looks like:
    lableA SPACE input field SPACESPACE lable B SPACE input field
    lableC SPACE dropdown SPACESPACElableD SPACE dropdown
    lableE SPACE dropdown SPACESPACElableF SPACE dropdown
    dynaSPACESPACEdropdown
    dynbSPACESPACEinput field
    Requirment: I need all the lables as well as dropdown/ input fiels in line with the static fields irrespective of my selection in E.
    Something like this:
    lableA SPACE input field SPACESPACE lable B SPACE input field
    lableC SPACE dropdown SPACESPACElableD SPACE dropdown
    lableE SPACE dropdown SPACESPACElableF SPACE dropdown
    dyna   SPACEdropdown
    dynbSPACESinput field
    dyncSPACESdropdown
    All this elements are in a group and that group has 2 transparent containers, 1 for static and for holding dynamic UI.
    I tried playing with the container properties, and also tried fixing width of dynamic UI but still the alignment issue is encountered.
    Can U guys plz give in ur valuable inputs as i need to fix this urgently.
    Regards,
    JJ

    Hi Armin,
    Can you please elaborate your solution ?, I do not have an idea of InvisibleElement & IWDView.resetView() ,
    If you can give me the exact pointer than it would be great and a good learning exp. for me.
    Thanks for the action assignment part, it worked.
    if (wdContext.nodeMaterialClass().size() > 0 && wdContext.currentContextElement().getActionMatCls()) {
         if (wdContext.currentMaterialClassElement().getMaterialClass_Description() != null || !wdContext.currentMaterialClassElement ().getMaterialClass_Description().equalsIgnoreCase(" ")) {
               IWDGroup Searchgroup = (IWDGroup) view.getElement("DynGroup");
    Searchgroup.destroyAllChildren();
    view.getContext().reset(false);
                                                      for (int i = 0; i < wdContext.nodeMaterialCharateristcs().size(); i++) {
                                  //this for label
         IWDLabel CharLabel = (IWDLabel) view.createElement(IWDLabel.class, "label" + i);
         CharLabel.setText(wdContext.nodeMaterialCharateristcs().getMaterialCharateristcsElementAt(i).getDescr_Char());
         CharLabel.setDesign(WDLabelDesign.EMPHASIZED);
         CharLabel.createLayoutData(MatrixHeadData.class);                              CharLabel.setWidth("154px");                              Searchgroup.addChild(CharLabel);
                 further there are conditions to create either dropdown or input field
    Can you please point where and how to apply your solution.
    Regards,
    JJ

  • How to do dynamic calculation on PDF Form

    Hi friends,
    I need to to create a invoice page using Adobe PDF dynamic Form.
    Business Requirement:-
    1. User will select predifined product, Quantity, Rate and Amount would be calculated. Tax would be calculated from the below data.
    2. I have a  tax table
        0      - 1000    2%
        1000 - 2000   5%
        3000 - 4000   7%
    Queries:-
    - how to write script to calculate Tax based on above tax table data?  How to ref. a table data?
    - how to write script keeping in mind about adding new percentage in future?
    Cheers,
    Victor

    The attached form will help you in understanding the dynamic calculations.
    Reading the table data with changes in the future..
    a) If your application is a standalone application, (means you distribute the .PDF file directly to the users instead of rendering the PDF based on request), then you may need to hard code the data inside the form itself. - In this case, if the table data changes, you need to change the PDF and re-distribute the form.
    b) If you are rendering the PDF on the fly based on the request, then you have the option of reading the data from the table (you need to do this in the parent application which is invoking the rendering process) and make it part of the input XML at the time of rendering. You need to write your code to read the XML and do the calculations for each request. - In this case, if the table data changes, PDF will get the latest information beacause the latest info is available in the input XML.
    Thanks
    Srini

  • Using AGG/CALC DIM function in the BSO target cube of Transparent Partition

    Hi,
    Is it possible to use AGG("dimension") on a dimnesion in the BSO cube that is a target cube for a BSO-BSO Transparent Partition/
    I have created the partition area with 3 dimensions, one being 'Source'. 90% of the source members are being refrenced from source to target via that transparent partition. But I still have the 10% Source members in the target cube that need to roll up to the 'Source"(along with the 90%) for correct aggregation.
    When I try to use AGG("Source") in a FIX statement that's within the partition area, I get the following error:
    Error: 1042013 Network error [10054]: Cannot Receive Data
    Error: 1042012 Network error [10054]: Cannot Send Data
    Can I not aggregate the dimension in the Target cube?
    Thanks

    Hi,
    We have the same problem.
    I try to create transparent pertition between BSO (as a source) and ASO (target) and have the same warning message.
    Just to eliminate possible effect of outline complexity I created very simple DBs with the following outlines:
    __For ASO:__
    mes1
    mes2
    Measures
    prd1
    prd2
    Products
    Actual
    Adjustment
    Scenarios
    __For BSO:__
    mes1
    mes2
    Measures
    prd1
    prd2
    Products
    Adjustment
    Scenarios
    In addition to the message I have the following behavior - ASO has data in "Actual" scenario, BSO has data in "Adjustment" scenario. Before partition definition I can see the data in the right places, but when the partition created, Actual data disapeared from report of ASO. It is still in the database, and when the partition removed - appears again.
    Any ideas?
    Thank you in advance,
    Alexey

Maybe you are looking for

  • Error while creating a production order from a sales order

    Hi    Even though the product has BOM when i try to create order with a sales order reference it is showing a warning message " NO BOM FOUND" . How to correct this error . regards, PradeepM.

  • Mega Sky 850 - Error

    Have had this infernal thing for 2 days, first day ok, drifted on and off, then today start a scan and get blue screen then laptop restarts. Reinstalled software and now I get an error message as soon as I start the software and have the usb plugged

  • Migration of smartforms into adobe forms

    hi,        After migration of smart form into adobe form,  while checking( syntax )  the error message will be displayed like the Sender Country is not filled.  if i fill the sender country then only the adobe form activate but  no sender  country is

  • Can we give a class name by java keyword ?

    can we give a class name by java keyword ?e. can we create a class call "for" / "if" anyhow ? Is there some way to create such kind of classes .. Is is possible with some other java like language.. & if there is any language & how one can embed the s

  • Photoshop cut and paste bug

    HI, I often take screenshots from my screen. I do this by hitting the 'PrtScrn' button on my keyboard. Then I go to PHotoshop, make a new image and paste, but it doesn't paste the recently copied screen that is in the clipboard...?! Does anyone have