ASO - member level formula - rolling up non-additive values

<p>I am trying to roll up not additive values (Yields, Percents,Spreads, etc.). In order to do this I have weighted members andmembers to weight them with. This seems to be working okay until Iget to a level where the weighting values are different. Here isthe formula I have today.</p><p> </p><p>IIF (IsLevel ( [Fixed_Float].CurrentMember, 0)</p><p>AND IsLevel ( [Public_Private].CurrentMember, 0)</p><p>AND IsLevel ( [Pre_Post Swap].CurrentMember, 0)</p><p>AND IsLevel ( [Credit Standing].CurrentMember, 0)</p><p>AND IsLevel ( [Credit Grade].CurrentMember, 0)</p><p>AND IsLevel ( [Acq_Disp Reasons].CurrentMember, 0)</p><p>AND IsLevel ( [Investment Type].CurrentMember, 0)</p><p>AND ISLevel ( [Division].CurrentMember, 0)</p><p>AND IsLevel ( [Asset Transactions].CurrentMember, 0)</p><p>AND ISLevel ( [Time].CurrentMember, 0)</p><p>AND ISLevel ( [Scenario].CurrentMember, 0), [Book YieldInput],</p><p>IIF (ISANCESTOR ( [Investment Type].CurrentMember, Derivatives), [Book Yield Wtd]/[Face Value] , [Book Yield Wtd]/[BookValue]))</p><p> </p><p>The outline structure is:</p><p> </p><p>Total Assets</p><p>        Assets  (Book Yield Weighted * Book Value)</p><p>            Bonds</p><p>            Mortgages</p><p>            etc.</p><p>        Derivatives(Book Yield Weighted * Face Value)</p><p>            LiabilitySwaps</p><p>            NonLiability Swaps</p><p> </p><p>Here is my outline. Basically anything on Derivatives &below should use Face Value and anything on Assets & Belowshould use Book Value.</p><p> </p><p>So when I get to Total Assets (Assets + Derivatives) how do Iblend the weighting values?</p><p> </p><p>Also, My formula as it is does not calculate the member"Derivatives" correctly either. How do I say Derivativesand all its children use Face Value?</p><p> </p>

While there is an MDX way to calculate what you need, I think you'll want to use an alternative.
The MDX member formula to calculate what you want, which you'd make the formula for a new account that you're trying to define, would be something like:
Sum (
Descendants ([Year].CurrentMember, [Year].Levels(0)),
Sum (
Descendants ([Time].CurrentMember, [Time].Levels(0)),
[Interest Rate] * [Receivables]
(I'm not sure what role [Transaction Count Indicator] plays; perhaps including
Sum( Descendants([Transaction Count Indicator].CurrentMember, [Transaction Count Indicator].Levels(0) ...)
is also warranted.)
If your cube doesn't have any more dimensions than these, and they're not much bigger than you've indicated, then MDX performance on the aggregation won't be a big deal- your cube is pretty small. If your cube is much larger, then you really want to load a field that is the result of multiplying [Interest Rate] * [Receivables].
When you say "Both sources contain attributes for all members in the Outline", I interpret that as "both sources have all the same dimensions". If that's the case, would it be possible to stage both sources to a single file and as part of the staging perform the multiplication? If you can stage to a table or even a view onto a join of two tables, then you can have SQL perform the multiplication. I don't think that you can specify the multiplication as part of a rules file (though I'd be happy to learn that you could).
HTH
George Spofford
http://www.dsslab.com

Similar Messages

  • ASO members with formula not rolling up

    Hi Gurus,
    In our ASO cube we have a members which caluclate % are not rolling up to parent . Its rolling up for MTD but they are not rolling for QTD . Members are in Account dimension .Please let me know if you require more info to get the excat idea .

    These are MDX formula members, right? Is the problem that the results are recalculated at the QTD level rather than the MTD level summing up the Period dimension?
    Is Period a stored dimension? The members / formulae in dynamic dimensions or hierarchies will always be calculated after roll-up of stored dimensions / hierarchies.
    See the section on 'Calculation Order' here: http://docs.oracle.com/cd/E26232_01/doc.11122/esb_dbag/alocare.html#alocare1058144
    If that is the problem you're seeing, the only options are a) to use an ASO calculation to derive the percentages as stored values, which can then roll up in stored hierarchies, or b) calculate the percentages outside of Essbase - in a relational staging area, for example.

  • Non-Additive member

    What is Non-Additive and What is the characteristics of Non-Additive member. Why it should be used?

    A non-additive member refers to a member in the cube that you would exclude from any type of roll-up. Statistical accounts or rates are good examples of non-additive members. These members when rolled up would lose their meaning and result in a nonsensical number.
    The opposite are additive members which roll up equally across all dimensions. Sales is a good example of an additive member. Sales rolls up across all dimensions like time, Products, Customers, etc to result in a meaningful number.
    The third distinction is a semi-additive member. A semi-additive member rolls up across some dimensions, but not others. A bank account balance is a good example of a semi-additive member. A bank account balance might roll up well across customers and branches, but the sum of a bank account balance over time would not be of any use.

  • Obiee report across non additive fact tables

    I have two fact tables (f1,f2) joined two conformed dimensions d1,d2
    d1,d2 have simple hierarchy total and detail levels
    f1 --->d1
    f1---->d2
    f2---->d1
    f2---->d2
    facts tabel layout
    f1 -- c1&c2 are(additive measures)c3&c4 are(non additive measures)
    f2----col1&col2 are (additive measures)col3&col4(non additive measures)
    I have tried to construct a report with c1,c2,col1,col2 and it works fine
    when i try to do c1,c2,c3,c4,col1,col4 second fact table cols are null.
    Can someone please guide how to resolve this issue.

    there is a rule saying When you are combining multiple fact tables(stars) in a single report, the measures should be aggregated. This is like best practice.
    So in your scenario, you have to create 2 logical dimensions from the fact tables.
    Create logical dimensions F1D with source physical F1 and add only non aggregated measure(c3,c4), Create a hierarchy with total and detail level.
    Create logical dimensions F2D with source physical F2 and add only non aggregated measure(col3,col4), Create a hierarchy with total and detail level.
    then for fact table f1 , set level F1d - Detail, F2d - total.
    then for fact table f2 , set level F1d - total, F2d - detail.
    Update your presentation layer. Make sure these non aggregated columns coming from F1d,F2d instead of logical fact tables.
    check for consistency.,Now save,reload/restart server. Check your reports, thats it.
    thanks
    Madan Thota

  • Non-additive measure

    Hi,
    I'm just learning OBIEE and have this logical modelling question.
    Let's say that I have a fact table. The grain of this fact table is day/product/price. So there is one row per day per product and the price of the product on that day. Price obviously is a non-additive measure. The nature of this measure is actually the problem....it can't be summed across time. Lets call this table price_history table.
    In BMM, I have a time dimension and product dimension and the above described fact table.
    Here's what I want to acheive:
    An answers request which will show me the price at the end of the period. For example, if I select Year from the time dimension, Product Name from the product dimension, and then price from the price_history table, I should get:
    2008 Product A $1.00
    2008 Product B $2.00
    2009 Product A $3.00
    2009 Product B $4.00
    where $1.00 is the price of Product A on 12/31/2008, $2.00 is the price of product B on 12/31/2008, $3 is the price of product A on 9/22/2009 (9/22/2009 is the latest row for Product A in price_history table), $4 is the price of product B on 9/22/2009 (9/22/2009 is the latest row for Product B in price_history table)
    Subsequently, I want to click on the year, and have OBIEE drill down into the data, and split it by Quarters:
    2008 Q1 Product A $1.25 ( the price at the end of Q1 2008)
    2008 Q2 Product A $1.27 ( the price at the end of Q1 2008)
    2009 Q4 Product B $8.00 (the most current price)
    I know this is a lot.....but does anybody have an idea on how one would go about modelling this situation???

    the problem is I want the measure to be additive across total product/prod category/sub prod category (as long as the sum involves prices for only ONE day). But across time I want to apply the LAST aggregation method. In other words, the SUM of all product prices with rollup to PROD CATEGORY/SUBCAT is a valid business query as long as the TIME dimension grain is a day. When the time dimension grain goes up month/quarter/year then I want the LAST price to be picked up for the time frame involved and then summed up to total product/prod category/subcategory.
    Going back to what you suggested. If I create a level based measure (with LAST aggregation) at the product subcategory level, it will only pick up the PRICE for the LAST product in that subcategory which is not what I want. I want subcategory to be the sum of all prices for the LAST day in the time period selected (the last day of the month, quarter, year, day).
    I'm beginning to suspect that this is not possible because there's a flaw in data model.....Any help is appreciated.

  • Non additive aggregation -  custom defined aggregation possible in BW?

    I have the following problem:
    there is a key figure that is non-additive relative to one characteristic, e.g we need the third minimum as an aggregation for a time characteristic (there a 250 values for that characteristic).
    Is there a way to create user defined (exception) aggregation (like Var or mean value) by ABAP Coding?
    Message was edited by: Michael Walesch

    Does your database support analytic functions? Last and first are analytics functions. If your database does not support them, BI has to prepare selects with subqueries and this could slow down the response time
    Begoña

  • Non additive dissolve video transition doesnt connect 2 photos gradually in my Premiere pro 5.5

    non additive dissolve video transition doesnt connect 2 photos gradually in my Premiere pro 5.5, is there any settings for it?

    I too am experiencing this issue.  AVCHD footage, GPU Acceleration, trying to apply a cross dissolve, and instead it randomly seems to see it as a simple cut.  The Cross Dissolve is simply ignored... Adjusting the footage length, removing the CDissolve, re-rendering, etc. have no effect.  For whatever reason, in that specific location on the timeline, a cross dissolve with GPU acceleration is impossible.  Yet, in other sections of the timeline, it is just fine.
    (The Fast Blur trick mentioned above worked (Thank you!) however, when I changed my playback resolution on the screen display, that broke the fix.  Deleting the fast blur, and applying it to the clip on the other side of the cross dissolve, re-enabled the work around)
    I also see an issue when a clip changes in the timeline, (cut from one piece of footage, to another) the video will begin to studder, dropping frames.  Framerate seems to drop to about 2fps.  To get smooth playback back, I have to pause and resume the playback.  Even if this is done very very rapidly, it still fixes the playback issue.  it's just really annoying to have to constantly stop and resume playback everytime a video clip changes in the timeline.
    I have a dedicated hard drive for video, and a dedicated mirrored array for the OS.  the video drive is a 7200rpm SATAII drive, and I'm using AVCHD footage.  I really don't think it's a disk speed issue... particularly as pausing and resuming (even if you do it as fast as you can possibly hit the keys) fixes it.  I'd rather not spend the $ to set up a RAID 10 for video, if I can avoid it and particularly if it's not needed.
    -Jason

  • TS4036 My camera roll will not restore from iCloud after updating my iPhone 4 to iOS 6. It shows I have 1.7 gigs of photos stored on camera roll but none are appearing on my phone. Everything else restored from iCloud.

    My camera roll will not restore from iCloud after updating my iPhone 4 to iOS 6. It shows I have 1.7 gigs of photos stored on camera roll but none are appearing on my phone. Everything else restored from iCloud. When I go to iCloud.com my photostream is not there.

    A response I put together from another post. Also going into iTunes and choosing to sync phone to iCloud then back "this computer" sometimes works.
    First thing.. Stop where you are. Don't try to sync, update, hard reset, iCloud... Just stop.
    Check on your phone under 'SETTINGS' 'GENERAL' USAGE'. It should show some value for PHOTOSTREAM. Also, connect to iTunes and you will notice at the bottom of your phones summary page that there is a large amount of 'OTHER' data.
    I used third party software called iExplorer (formerly iPhone explorer). In this program you select 'MEDIA FOLDER', then 'DCIM'. In the various apple folders (IE: 101APPLE) you should be able to preview your photos and copy them to your desktop.
    From there sync them back to your device through iTunes or whatever method you use.
    There is a simpler solution I'm sure, which may involve using iExplorer to delete some .plist files then restart the phone and let it rebuild. I'm going to try it myself AFTER I've finished copying all the photos to my MAC
    Hope this helps.

  • Creating a dynamic report level formula in Analysis

    Hello Experts,
    I have a requirement in Analysis to create a report level formula for "Number of days a Product has been on Backorder" which is a calculation based on existing report objects/elements i.e Current Date - Sales Order Creation Date.  The problems that I'm facing right now with this are :
    a) How to set up Analysis to only select current date automatically each time the report is run as oppose to selecting the current date manually each time ?
    b) How do i write the formula that adjusts the Column/Row(with the formula) itself if more objects are added into the report or moved out of the report.
    Please help folks.
    Thanks
    Gaurav

    Gaurav:
    a) How to set up Analysis to only select current date automatically each time the report is run as oppose to selecting the current date manually each time ?
    Why not do this in the BEx Query Designer?
    As for part b, I am not following; please include screen shots.

  • Is there any settings for non additive dissolve video transition? mine doesnt work!

    is there any settings for non additive dissolve video transition? mine doesnt work!

    Hi Edittor,
    What kind of settings were you looking for?
    Thanks,
    Kevin

  • Need to extract non empty value thru MDX

    Hi All,
    I have a requirement where there are 2 measures A and B.. I need to populate the first non-missing value from a layer from A in to B..
    tried using HEAD function however looks like in ASO MDX member formulas does not support this ..
    Any help would be highly appreciated
    Thnks,

    I believe the issue is that the formula you are using returns a set and you are looking for a value. Therefore, you need to use the Head function with a function that returns a numeric value (ie: Sum, Max, Avg, etc). In instances like this I typically use the Sum function. Depending on your cube and the rest of your formula, you may need to put some additional work into the formula so that the Sum returns just the value you need, but it just requires getting more specific in your arugments.
    The Head formula will bring back the first member or tuples specified, but won't evaluate for non-missing. You may need to also combine the Head forumla with the Filter formula. ex: Sum(Head(Filter([Dimension or Member].SetFunction,[A] <> Missing)),1) You will mostly need to select some other dimension to apply the filter to (like period or scenario). Examples of the SetFunction are Children, Members, Levels(0), etc. If you end up going this route you may want to write out your Sum(Head()) function and and Sum(Filter()) function and validate each independently and then merge. I find this helps when trying to build larger nested functions.
    Hope this helps!
    Jen

  • Distinct Count of Non-null Values

    I have a table that has one column for providerID and then a providerID in each of several columns if the provider is under a particular type of contract. 
    I need a distict count of each provider under each type of contract for every county in the US.
    distinct count is almost always one more than the actual distict count because most counties have at least one provider that does not have a particular contract and the distict count counts the null value as a distict value.
    I know I can alter the fields to have a zero for nulls, ask for a minimum count and then subtract 1 from the distict count if the minimum is zero, but I hope there is an easier way to figure distict counts of non-null values.
    any suggestions?
    Thanks,
    Jennifer

    Hello,
    *I need a distict count of each provider under each type of contract for every county in the US*
    To the above requiremetn,
    I will suggest the following approach.
    Use group expert formula  for country, contract and provider.
    Now you will have the hierarchy to which level you want to apply distinct count. You can do it as suggested by ken hamady.
    Regards
    Usama

  • Maintaining non-cumulative values in Mlti provider

    Can we maintain non ucmulative values inteh multi ptovider   Extras - > Maintain non cumulative values section.
    I created few new cubes which has non cumulative keyfigures . In the cube I made 0CAL DAY as reference characteristic and selected  Company code (0COMP_CODE) and Posting date in the document (0PSTNG_DATE) as characteristics of validity table for non-cumulatives.
    Now I inlcude the new cubes and identified the non cumulative key figures in the multi provider.
    Now here also do I need to   make 0CAL DAY as reference characteristic and selected  Company code (0COMP_CODE) and Posting date in the document (0PSTNG_DATE) as characteristics of validity table for non-cumulatives.I did not find an option in Extras - > Maintain non cumulative values in multi provider. CAn we maintain non cumulatives in MP ?

    Hello,
    You dont need to maintain it at the MP level also.
    Non-cumulative parameters are manitained only at the cube level.This was the case in 3.x so it should be the same in 7.0 also.
    Regards
    Ajeet

  • "initial non-cumulative for non-cumulative values"  is not available in DTP (0AFMM_C02)

    Hi Experts,
    We are working for BI implementation for AFS Industry,
    when we are working on AFS specific inventory cube 0AFMM_C02 , we are facing stock mismatch problem
    for AFS Stock initialization we are using the data source 2LIS_AF_STOCK_INITALIZATION instead of 2LIS_03_BX, this data source is specificly designed for AFS
    when we are extracting the data using 2LIS_AF_STOCK_INITALIZATION for stock initialization and
    2LIS_03_BF data source to load the Moments.
    we compressed cube with Marker update for 2LIS_AF_STOCK_INITALIZATION data load(by deselecting the No marker update check box)
    we compressed cube with No Marker update for 2LIS_03_BF historical data load(by selecting the No marker update check box)
    we compressed cube with Marker update for 2LIS_03_BF Delta data load(by deselecting the No marker update check box)
    Now we are facing stock mistach problem, we found reason for this
    "initial non-cumulative for non-cumulative values" option is not available in DTP only Delta & Full options are available
    and infopackage of  2LIS_AF_STOCK_INITALIZATION data source also has "Full update" instead of "Generate Intial Status"
    Please let us know how can we get the "initial non-cumulative for non-cumulative values" option in the DTP level.
    Regards,
    Chandra

    Hi Chandrakumar,
    We are facing the same problem, how do you solve it?
    Regards,

  • When do we use Non-Cumulative values?

    Hi BW Experots?
    When do we use Non-Cumulative values?How is it related with exception aggregation
    Please tell me .
    Thanks in anticipation.

    Hi,
    Taken from std, doc....
    A non-cumulative is a non-aggregating key figure on the level of one or more objects that is always displayed in relation to time. Examples of non-cumulatives include headcount, account balance and material inventory.
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/da1640dc88e769e10000000a155106/frameset.htm
    Check this out...
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a62dee07211d2acb80000e829fbfe/frameset.htm
    Pls. assign points if this helps you.. ****
    Thanks,
    Raj

Maybe you are looking for