Data loaded all level in a hierarchy and need to aggregate

I am relatively new to Essbase and I am having problems with the aggregation of cube.
Cube outline
Compute_Date (dense)
     20101010 ~
     20101011 ~
     20101012 ~
Scenario (dense)
S1 ~
S2 ~
S3 ~
S4 ~
Portfolio (sparse)
F1 +
F11 +
F111 +
F112 +
F113 +
F12 +
F121 +
F122 +
F13 +
F131 +
F132 +
Instrument (sparse)
I1 +
I2 +
I3 +
I4 +
I5 +
Accounts (dense)
AGGPNL ~
PNL ~
Porfolio is a ragged hierarchy
Scenario is a flat hierrachy
Instrument is a flat hierarchy
PNL values are loaded for instruments at different points in the portfolio hierarchy.
Then want to aggregate the PNL values up the portfolio hierarchy into AGGPNL, which is not working the loaded PNL values should remain unchanged.
Have tried defining the following formula on AGGPNL, but this is not working.
IF (@ISLEV (folio,0))
pnl;
ELSE
pnl + @SUMRANGE("pnl",@RELATIVE(@CURRMBR("portfolio"),@CURGEN("portfolio")+1));
ENDIF;
using a calc script
AGG (instrument);
AGGPNL;
Having searched for a solution I have seen that essbase does implicit sharing when a parent has a single child. This I can disable but this is not the sole cause of my issues I think.

The children of F11 are aggregated, but the value which is already present at F11 is over wriiten and the value in F11 is ignored in the aggregation.^^^That's the way Essbase works.
How about something like this:
F1 +
===F11 +
======F111 +
======F112 +
======F113 +
======F11A +
===F12 +
======F121 +
======F122 +
===F13 +
======F131 +
======F132 +
Value it like this:
F111 = 1
F112 = 2
F113 = 3
F11A = 4
Then F11 = 1 + 2 + 3 + 4 = 10.
Loading at upper levels is something I try to avoid whenever possible. The technique used above is incredibly common, practically universal as it allows the group level value to get loaded as well as detail and agg up correctly. Yes, you can load to upper level members, but you have hit upon why it isn't all that frequently done.
NB -- What you are doing is only possible in BSO cubes. ASO cube data must be at level 0.
Regards,
Cameron Lackpour

Similar Messages

  • Can we load data for all levels in ASO?

    Hi All,
    Im creating cube in ASO
    can i load data for all levels in ASO
    we can load data for all Levels In BSO but in ASO i need confirmation????
    and one more
    wat is the consider all levels option in ASO is used for ? wat is the purpose?
    Can any one help ,it would be appriciate.
    Thanks

    In an ASO cube you can only load to level zero
    The consider all levels if used for aggregation hints. It allows you to tell the aggregation optimizer to look at all levels when deciding if aggregation needs to be done on the dimension

  • Can we load data for all levels in ASO cube

    Hi All,
    Can we load data for all levels of members in ASO cube in 9.3.1.
    Regards

    Yes you can load data for all levels in an ASO cube in any version HOWEVER, none of the upper level data in any cube will be there when you look for it. You will get a warning message in the load because ASO cubes don't store data at upper levels. It is the same as loading data into dynamic calc members in BSO cube. It will do the load without compalints, but there will be no data there (At least you get the warning in ASO)

  • ICloud password works on everything but erasing all data. I got a new iPhone and need to wipe this one but am not sure how else to do this since the password is not working. Any suggestions?

    iCloud password works on everything but erasing all data. I got a new iPhone and need to wipe this one but am not sure how else to do this since the password is not working. Any suggestions?

    Firefox also makes regular backups of your bookmarks in a folder named bookmarkbackups in your personal settings folder. You can restore the backup to your new Firefox, but unlike importing the HTML-format file, it is a complete drop-in replacement, so if you have saved new bookmarks you do not want to lose, the export/import method may work better for you.
    By default, Windows hides your personal settings folder so the easiest way to access it is from inside Firefox. You can use either:
    * "3-bar" menu button > "?" button > Troubleshooting Information
    * (menu bar) Help > Troubleshooting Information
    * type or paste about:support in the address bar and press Enter
    In the first table on the page, click the "Show Folder" button. This will launch a window showing your Firefox settings files.
    You might want to back up this whole folder if you have other data you want to preserve from your XP computer.
    Either way, you should find the bookmarkbackups folder here and when you click into it, find maybe 10 files with dates in their names.
    The procedure to restore the file once you have it on removable media or some other convenient place is described in this article: [[Restore bookmarks from backup or move them to another computer]].
    Regarding the other files and what you might find of use: [[Recovering important data from an old profile]].

  • Handheld Application Loader Wizard has encountered a problem and needs to close. We are sorry for the inconvenience.

    I keep getting this message when i connect my new Bold 9900 and started getting it on my curve 8330 a couple months ago. I have the newest version of desktop manager 6.0 installed on both my laptop and my PC. The strange thing is it works flawlessly on my laptop, no error messages from either phone. Just got the new Bold last week, plugged it in to PC, same error. I have done alot of reading through the forums and have tried to uninstall and re-install the desktop software 3 or 4 times. Even tried upgrading the OS on the Curve and Bold on the Laptop. Plugged it back into the PC and same problem. I cannot force the Loader.exe to start on PC  when I click on it on the C:\program Files/Common Files/Research in Motion/Apploader, crashes right away. Even tired a method that outlines how delete registry entries, etc and tried that. Does anyone have any further ideas or more detailed way to resolve this. Seems to be desktop manager issue as no problems with same devices on laptop.
    Solved!
    Go to Solution.

    Re: Handheld Application Loader Wizard has encountered a problem and needs to close. We are sorry for the inconvenience.
    Sorry I will correct the laptop order:
    Okay, on my desktop USB controllers:
    USB Root Hub
    USB Root Hub
    USB Root Hub
    USB Root Hub
    VIA REV 5 or later USB Universal Host Controller
    VIA REV 5 or later USB Universal Host Controller
    VIA REV 5 or later USB Universal Host Controller
    VIA USB Enhanced Host Contoller
    On my laptop:
    Intel(R) 82801G (ICH7 Family) USB Univeral Host Controller - 27C8
    Intel(R) 82801G (ICH7 Family) USB Univeral Host Controller - 27C9
    Intel(R) 82801G (ICH7 Family) USB Univeral Host Controller  - 27CA
    Intel(R) 82801G (ICH7 Family) USB Univeral Host Controller  - 27CB
    Intel(R) 82801G (ICH7 Family) USB2 Enhanced Host Controller  - 27CC
    USB Root Hub
    USB Root Hub
    USB Root Hub
    USB Root Hub
    USB Root Hub

  • 'Handheld Application Loader Wizard has encountered a problem and needs to close'

    Message Edited by charlieh1 on 05-07-2009 07:56 PM
    Message Edited by charlieh1 on 05-07-2009 07:57 PM

    I just received my new BB Curve 8900 on o2 UK, and after installing the latest version of Blackberry Desktop Manager and connecting my phone the following error message comes up
    'Handheld Application Loader Wizard has encountered a problem and needs to close'
    followed by the message
    'A fatal error has occured whilst updating your devices software. Please try again.'
    I'm pretty new to Blackberry and tried reinstalling the software but the message continues to come up.
    Any help would be greatly appreciated.
    Thanks
    Charlie

  • Loading All Levels of BOM data to BW

    Hi Experts,
    I am loading all BOM data that is all levels of BOM data to BW. can anyone suggest me the steps using what should i create generic exctractor FM or view on tables (MAST,STKO,STPO) ?? please give me the detailed steps for the loading data to BW from R/3. because i want to do reporting at any level. ?
    vikrant

    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0af489e-72b1-2b10-159d-abb8058fb88d?quicklink=index&overridelayout=true
    Just check if this helps
    Prathish

  • Data at all level do not match after applying security

    Hi ,
    We are implementing the security and observed following.
    1. Data is loaded in the cube correctly and report shows up the data correct at all level.
    2. Now we apply the security which which will restricts the users to see some members according to the role they are mapped to.
    3. When we create a report we are seeing the values at second and all below level to be correct but the value at all level still shows same as got in step 1.This means that the value is not dynamically aggregated while creating the report.
    Also we checked that the values are not precomputed at all level for any dimension.
    Any pointers to resolve this?
    Thanks in advance.
    Thanks
    Brijesh

    John, A sureshot way to simulate the relational aggregation for various users (who have vpd) applied on the fact information is to create the AW for each user. That way the scoping of dimension hierarchies and/or facts occur on the relational source views and each user only sees the summation of the visible values in the AW. You can use (local) views in each user's schema on the appropriate AW and make the application access seamless across all the user schemas. Such a solution may be a bit redundant (leaf data present in multiple AWs increasing load time) but should work in all environments since it does not involve any tweaking of internal objects via custom olap dml.
    +++++++++++++
    Regd implementing the approach to have a single AW servicing multiple users but also allow for individual users to see only their data (for both base and summary data).. This can be done in 10gR2. We have used this approach with a 10gR2 AW based on suggestions from people who were in the know :)
    Please note the disclaimers/caveats..
    * Works for 10gR2 with no foreseeable way to port this onto 11g when olap dml object manipulation is prevented by the lock definition (lockdfn) keyword.
    * Custom code needs to be run at startup.. Preferably in PERMIT_READ program alone since this way any changes made by any of the restricted user(s) do not get saved/commited. This is the manner that sql query on AWM using vpd (say) would work.
    * OLAP DML Code is very dependent on the nature of the cube structure and stored level setting.
    * This approach provides for a neat and nifty solution in the context of a PoC/demo but the solution performs a (possibly exhaustive) cleanup of stored information during the startup program for each user session. And since this happens in the context of a read only session, this would happen every time for all user sessions. So be sure to scope out the extent of cleanup required at startup if you want to make this a comprehensive solution.
    *********************** Program pseudo code begin ***********************
    " Find out current user details (username, group etc.) using sysinfo
    limit all dimensions to members at stored levels
    limit dim1 to members that user does *not* have access to.
    NOTE: This can lead to perf issues if PROD dimension has thousands or millions of products and current user has access to only a few of them (2-3 say). We will have to reset the stored information for the majority of products. This is undo-ing the effects of the data load (and stored summary information) dynamically at runtime while the users request a report/query.
    limit dim1 add descendants using dim1_parentrel
    limit dim1 add anscestors using dim1_parentrel
    limit dim1 keep members at stored levels alone... use dim1_levelrel appropriately.
    same for dim2 if reqd.
    "If we want to see runtime summation for stores in North America (only visible info) but see the true or actual data for Europe (say).. then we need to clean up the stored information for stores in North America that the current user does not have access to.
    Scenario I: If Cube is uncompressed with a global composite.. only 1 composite for cube
    set cube1_meas1_stored = na across cube1_composite
    set cube1_meas2_stored = na across cube1_composite
    Scenario II: If Cube is uncompressed with multiple composites per measure.. 1 composite per cube measure
    set cube1_meas1_stored = na across cube1_meas1_composite
    set cube1_meas2_stored = na across cube1_meas2_composite
    Scenario III: If Cube is compressed but unpartitioned..
    set cube1_meas1_stored = na ... Note: This can set more cells as null than required. Each cell in status (including cells which were combinations without data and did not physically exist in any composite) get created as na. No harm done but more work than required. The composite object may get bloated as a result.
    Scenario IV: If Cube is compressed and partitioned..
    Find all partitions of the cube
    For each partition
    Find the <composite object corr to the partiton> for cube
    set cube1_meas1_stored = na across <composite object corr to the partiton>
    "Regular Permit Read code
    cns product
    permit read when product.boolean
    *********************** Program pseudo code end ***********************
    The cube in our aw was uncompressed/partitioned (Scenario I).
    It is more complicated if you have multiple stored levels along a dimension (possible for uncompressed cubes) where you apply security at an intermediate level. Ideally, you'll need to reset the values at load/leaf level, overwrite or recalculate the values for members at all higher stored levels based on this change, and then exit the program.
    HTH
    Shankar

  • BI UDI data load conflict using MS SQL Server and date fields

    Hi BW Experts!
    We have found some unexpected problems when we are trying to perform a data extraction process from an SQL database (non-SAP application).
    We are using the BI UDI tool (JDBC Driver/Connector).    The basic data extraction works properly, however we have some specific problems to work with SQL Server fields defined as “Date Time”.
    The JDBC driver automatically intermediate the communication and translate these fields splitting the original SQL date time field into two separated fields with suffix “_D” (for date) and “_T” (for time).
    It works perfect for extraction, but it doesn’t work well when we try to restrict the data selection based on these fields.    
    When we put a date selection into the infopackage data selection area (we already have tried several date formats), the system simply ignores these selection parameters and send a SQL statement without “WHERE” clause to DBMS.   
    Please, anybody has experienced anything like this or know somethings that could help us? 
    This is a standard limitation from SAP BI UDI?
    Thanks in advance and best regards,

    Hi Matt and Thomas
    Many thanks for your replies.
    Yes I have to do the join. Even worse I have to write an Aggregate query like this!
    Select o.F1,o.F2, m.F1,m.F2, count(*)
    from
    table@oracleServer o,
    table@microsoftSQLServer m
    where o.F1=m.F1
    group by o.F1,o.F2, m.F1,m.F2;
    These are 2 different systems (hardware & software) which actually do the same job, they produce transactions for a common business entity. Kind of, both sell tickets for the same ABC ferry company.
    I can not put them side by side on the dashboard, as I need to aggregate the data and present it maybe in a Oracle BI Report for Accounting and Financial reconciliation purposes.
    The truth is, as it is. I can't change it, is too late.
    I have to device a way to harvest both systems as they are. I don't want to move around data. I thought looking at Oracle BI I could write SQL against multiple Data Sources. I am struggling to find a way. As it seems that it can "SQL query" 1 data source at a time.
    I have been hinted on another forum (OracleTURK) to use Oracle Transparent Gateways and Generic Connectivity. http://download.oracle.com/docs/cd/B19306_01/server.102/b14232/toc.htm
    Shame, I have to pay licenses for OWB and Oracle Transparent Gateways. I thought DB vendors can do better. Why do I have to pay to access the other 50% of the market.
    I can understand the performance implications this might have. Because of it I might even be forced at the end to move data (ETL) into a separate database, slice it into partitions and manage it that way. Pitty because currenlty I only need one report out of these systems but seems like will be dear to get.
    Thank you for all your help.
    Kubilay

  • I cannot connect to the internet. I think I have my settings all out of whack now and need to get them back to the way they were when it was working. (I know my wireless router is working because my Dell has no problem connecting to the internet.)

    I cannot connect to the internet on my iMac through my wireless router. I think I screwed up the settings and need to reset them. I know the router is working because I can access the internet on my Dell laptop which is located right next to my Mac.

    On your iMac try the following, in order, until (hopefully) resolved:
    1a. Delete Preferred Network(s)
    System Preferences > Network > Wi-Fi > Advanced > Wi-Fi tab
    Under "Preferred Networks," delete the network(s) you regularly use from the list.
    1b. Delete AirPort Keychain Entries
    Launch the "Keychain Access" application located in Applications/Utilties.
    In the windows on the left side: Select login for Keychains and "All Items" for Category.
    Click on the "Kind" filter at the top, and look for any "AirPort network password" entries...and delete them.
    1c. Add Preferred Network(s)
    System Preferences > Network > Wi-Fi > Advanced > Wi-Fi tab
    Add the preferred network(s) using the "+" button.
    Restart or log out then back in.
    2. Move System Configuration Files
    (Note: You will have to reestablish your network connections settings.)
    Go to /Library/Preferences
    Move the SystemConfiguration folder to the desktop.
    Restart your Mac. (Note: OS X will rebuild the files that are now sitting on your desktop. If this doesn't resolve the issue, you can move the folder back to it's original location.)

  • My iphone 5s keeps changing time on its own and keeps disconnecting from the wifi and cellular data. All other devices are connected and working. Is it a virus?

    What can i do to fix it? My husband suggests I reset my phone but I'm afraid my data will be wiped off an that would be of total waste if the problem doesn't even get solved. Your help would be much appreciated!

    There is no known malware capable of infecting an iPhone that has not been jailbroken (ie, hacked to allow apps from outside the App Store). If you have jailbroken it, you have exposed yourself to malware, and should restore the phone to factory defaults, without restoring a backup. All data will be lost, but that is unavoidable.
    Most likely, you haven't jailbroken it, in which case you don't have to worry about malware. In that case, it's hard to say what's going on, but there are some things you can try.
    First, try resetting your device. Press and hold both the home button and the sleep/wake button for about 10 seconds, until the screen turns off. Ignore the slider that will appear. Release the buttons, then press and hold the sleep/wake button until the Apple logo appears. This is the equivalent of a reboot, and should not affect your data or apps.
    If that doesn't help, try restoring your device from backups, and if that doesn't help, restore it to factory settings (ie, do not restore a backup). See:
    http://support.apple.com/kb/ht1414
    If none of that helps, the issue is caused by some kind of hardware problem, and the device will need to be repaired or (more likely) replaced.

  • HELP! Lost all notes with first Sync and need to get them back

    I had some very important notes on my phone and I need to get them back. Here is some background info.
    I bought a new MacBook Pro a couple months ago. I previously have a Sony Vaio. Shortly after I upgraded from 3G to 3GS. Since I couldn't get my playlists from my old laptop to my new laptop, I synced my phone with my old laptop and not my new one for fear of losing everything.
    Today, I finally figured out to get my playlists on my MacBook and then I synced my iphone as usual and upgraded to 3.0.1. Of course, I also upgraded to iTunes 9 right beforehand and it had a couple new options for syncing notes and merging data. I have never synced notes before. Everything else seems fine on my phone except for this. I tried restoring to backup, however, I think that iTunes created a new backup on my Macbook since it was the first time I have synced my phone with it. I no longer have my old laptop. I did transfer all my old files to my mac.
    What can I do?! How can I get them back?!

    If you use the Time Machine on your computer then you can try to find an older copy of the places.sqlite file.
    *http://www.apple.com/support/timemachine/
    There are also JSON backups in the bookmarkbackups folder that you can use to restore bookmarks.
    *http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox
    *http://kb.mozillazine.org/Lost_bookmarks
    *https://support.mozilla.org/kb/Lost+Bookmarks

  • Hierarchy level for Site hierarchy idoen't load in BI

    Hi gurus,
    I have created a new hierarchy level for Site hierarchy in transaction CL01 in R/3. But this level is not load in BI.
    Site hierarchy and other levels load right, but no the new one.
    Do you now anything to resolve my issue?
    Any feedback will be really appreciated.
    Thanks

    Hi,
    I think,you have to follow the old concept only.
    Gana.

  • My 2nd gen iPad woke up today and decided to load all 800  apps, I've reset,restored and still the minute I connect wifi it's off to the races. It is set to manually manage apps. Are there any suggestions?

    My 2nd generation iPad woke this morning and decided to load all of my apps 800+ and I don't seem able tp prevent it. It is set to manually manage apps and I have reset, restored and the minute I reconnect with wifi it starts loading. Any suggestions out there on how to correct this?

    @chris_l -- yeah I was worried that might be the case, still I'm not sure if that explains why it keeps failing the burn process part way through?
    I've tried this and that in Linux but without much luck. I'm still quite a noob with a lot of Linux things and this is the first time I'm trying anything to do with optical disks/drives etc. so I'm learning as I go...
    The disk that failed in Windows but was 'readable' in Linux did just pass a run through ddrescue -- i.e. it created an output file okay and did not report any errors in the process.
    However when I mounted the resulting image and tried to copy the files across the first folder reported an "input/ouput error" (just using gui copy+paste in Thunar file manager)
    ...the other folders did copy okay though!
    It seems as though it's the lead-in / lead-out and disc finalizing process that are the main fail points with the burn operation. I don't know if InfraRecorder is any good or likely to be the problem? Anyway the drive cam with Nero (inc. Linux version) so might give either or both of these a go too, if they don't work either then at least I wont be short of something to rest a mug o' tea on
    @ chris_l (again) -- the Plextor drives do have a "Vari-Rec" feature which allows a user to 'tweak' the laser power / output level so I might try this too.
    @alphaniner -- thanks I've not seen this package before, I'm guessing it's a bit like cdparanoia but for dvds?!
    Thanks for the help!
    (pre-post) UPDATE >>> I've just mounted my Windows partition  in Linux so I'll have a crack at burning the files using cdrtools before I resort to throwing the dvd drive out of the window and chasing it around the yard with a lump hammer

  • Firfox 8 is sometimes very slow to load random websites and others it loads quickly, IE8 loads all websites ok. Have cleared cookies and cache and allowed ff as exception in Windows firewall.

    I use FF 8.0 (x86en-US) as default browser, since update to 8.0 FF intermittently takes ages to load some websites, sometimes not loading the site at all. To rectify this I go back one page to the Google results or hyperlink and ask FF to load the webpage again. This usually solves the problem but not always. I have cleared cookies and cache and added FF to exceptions in windows firewall. The websites affected are not always the same and some that load quickly one day can take ages next time. IE8 loads all websites OK. Antivirus and malware scans all clear.

    I use FF 8.0 (x86en-US) as default browser, since update to 8.0 FF intermittently takes ages to load some websites, sometimes not loading the site at all. To rectify this I go back one page to the Google results or hyperlink and ask FF to load the webpage again. This usually solves the problem but not always. I have cleared cookies and cache and added FF to exceptions in windows firewall. The websites affected are not always the same and some that load quickly one day can take ages next time. IE8 loads all websites OK. Antivirus and malware scans all clear.

Maybe you are looking for

  • Clicking a Phone Number from a voicemail in Outlook 2013

    I was running Outlook 2010 and Lync 2013 on my Windows 8.1 machine. This was working great until I upgraded to Outlook 2013 (Office 365 Home). Now, when I click a phone number link at the bottom of a voicemail in Outlook 2013, I get this message Micr

  • Creating dual monitor workspace

    I found one ancient message from September with absolutely no responses, so let's try again..... Bridge CS4. Dual monitors. HOW do I create and SAVE a workspace that takes advantage of both monitors? I want to put previews and some palettes on one mo

  • Unix domain sockets: How to name them? And where to put them?

    I am using unix sockets for inter-process communication in a C++/gtkmm project. Are there naming conventions and conventions about where to place sockets in the filesystem? In all example code I found, dummies like /home/user/mysocket were being used

  • Android mobile does not work with submit fdf format

    I want to gather data by mobile device (Android) as JavaScript does not work well in this environment, I intend importing the gathered data into a report PDF form with JavaScript functions etc., however the Acrobat mobile reader does not appear to wo

  • Adding multiple in sales order using fm crm_order_maintain

    hi experts, we have requirement of creating sales order with multiple products. We used FM CRM_ORDER_MAINTAIN to avhieve the same. But problem that we are facing is we are able to add only one product in sales order through this function module. But