How to calculate selected hierarchy only

Hello,
I have simple planning application (Hyperion 11.1.2) with all mandatory dimensions.
*"Entity" dimension looks like this:*
COMPANY_1
COSTCENTRE_1_1
PRODUCTIONLINE_1_1_1
PRODUCTIONLINE_1_1_2
PRODUCTIONLINE_1_1_3
COSTCENTRE_1_2
PRODUCTIONLINE_1_2_1
PRODUCTIONLINE_1_2_2
COSTCENTRE_1_3
PRODUCTIONLINE_1_3_1
PRODUCTIONLINE_1_3_2
COMPANY_2
COSTCENTRE_2_1
PRODUCTIONLINE_2_1_1
PRODUCTIONLINE_2_1_2
PRODUCTIONLINE_2_1_3
COSTCENTRE_2_2
PRODUCTIONLINE_2_2_1
PRODUCTIONLINE_2_2_2
COSTCENTRE_2_3
PRODUCTIONLINE_2_3_1
PRODUCTIONLINE_2_3_2
Users from COMPANY_1 and COMPANY_2 import data into essabase (Level0 members) using EAS. Separately for each company and in different time.
My problem is:_
Now, I am trying to prepare calculation script which should calculate all "Measures" and aggregate Entites data for only one selected hierarchy (COMPANY_1 or COMPANY_2).
Something like this (but this is not supported in essbase (11.1.2)):
FIX ("January", "Local", "HSP_InputValue","FY11", "SAct", "VCurrentApproved", *@IRDESCENDANTS("COMPANY_1")*)
CALC DIM ("Measure", *"Entity"*);
ENDFIX
Thank you for any inspiration.
Vladislav

Hi,
Modify your business rule as below and have your users run the calculation from Planning. Assuming they've got access to their entities only, they will be able to select their entities only and this should only aggregate the selected entity:
FIX ("January", "Local", "HSP_InputValue","FY11", "SAct", "VCurrentApproved", @RELATIVE({COMPANY},0))
CALC DIM ("Measure");
ENDFIX
FIX ("January", "Local", "HSP_InputValue","FY11", "SAct", "VCurrentApproved")
@IDESCENDANTS({COMPANY});
ENDFIX
Cheers,
Alp

Similar Messages

  • How to calculate SELECT time

    I want to know how to calculate time taken by SELECT query.
    For example: I am running one select statement in TOAD(oracle version 9i) which takes 40 seconds to run but in output window it display few records. It says "showing 1 of 500 records, more records exist". That table has total 20 million records.
    Now my question is: Did my SELECT query took 40 seconds? or it took 40 seconds to SELECT 500 records.
    If it took 40 seconds to SELECT 500 records then how to calculate total amount?
    Any help would be very much appreciated.

    Where I will find trace file?
    Toon Koppelaars wrote:
    What you could do is this.
    Say your current query is Q1. Then instead of executing Q1 in toad execute this in Toad:
    select count(*)
    from (Q1)
    /This is not totally safe, since the CBO could decide to alter the execution plan given that you now are not interested in any of the columns you had in the SELECT list of Q1.
    Other alternative is to use sqlplus.
    Set pages 0
    alter session set sql_trace=true;
    Run your Q1.
    alter session set sql_trace=false;
    Find the trace file, tkprof it, and see exactly what happened and how much time it took.
    I'm assuming that timed_statistics is set to true in your instance.Edited by: user639946 on Dec 3, 2010 1:00 PM

  • How can I select videos (only videos) and export them from iPhoto?

    I know how to export one movie at a time from iPhoto, but I want to export all (or a bunch) of videos at a time.  They are mixed in with photos, and on many many different dates.  Is there a way to find only the movie files and export them as original files?  I my macbook is full and if I export iPhoto stuff as a batch the videos end up being reduced to one frame only (the sidecar file).  Please advise.  Thanks!!

    MacBook Pro
    Moving Your iPhoto Library External Drive
    iMovie Tutorials
    iMove Unofficial FAQ

  • How to print selected wells only?

    This is a real pain for me… does anyone know how to do this?

    Read the entire post the last person just linked to. As well as search on Print Range, and restrict the search to iWork - numbers
    [http://discussions.apple.com/search.jspa?threadID=&q=print+range&objID=f1189&da teRange=last90days&userID=&numResults=15&rankBy=10001]
    I think its not included because, it as a technical challenge that relates to the difference between working on a nice monolithic Grid of rows and columns (easy to define a clean rectangle to print), and a series of possibly overlapping objects whose columns and rows don't line up at all.

  • How to sync selected songs only

    Greetings,
    Is it possible to sync only some songs or folders from iTune without loosing what is already there in iPhone?

    Same way you did with the previous versions of iTunes.
    To view the iPod in iTunes, Ctrl S to show the sidebar.
    Create a playlist, add songs and sync that playlist.
    Or drag songs to the iPod in iTunes.

  • How to erase selected cookies in Safari?

    Hello everyone, I found how to erase ALL cookies but not how too erase selected ones only. Is that possible?
    (iPad, latest iOs)
    Thanks

    Yes, I'm sure about that. Some sites may bury cookies in that data, again to get around the cookie manager, but the normal cookies are stored elsewhere. I have verified this with a number of sites which show nothing in the "web data" area but still store cookies which I can confirm by deleting them, visiting the site again, and seeing that iOS now again reports having cookies (the "delete cookies" button is inactive if no cookies are stored).
    Apple has documentation on the cookie handling methods here:
    https://developer.apple.com/library/ios/#documentation/Cocoa/Reference/Foundatio n/Classes/NSHTTPCookieStorage_Class/Reference/Reference.html#//apple_ref/doc/uid /20001703-387826
    and information on storing client-side data here:
    https://developer.apple.com/library/ios/#documentation/AppleApplications/Referen ce/SafariWebContent/Client-SideStorage/Client-SideStorage.html#//apple_ref/doc/u id/TP40002051-CH4-SW1
    Regards.

  • I do not want all of the playlists in iTunes to be synced to my iPhone. With iCloud I do not seem to have a choice. How do I select only certain playlists for my iPone?

    I have many songs and playlists in my iTunes account.  I do not want all of them synced to my iPhone 5S, but that has happened via iCloud, and it has caused a storage problem on my phone.  How do I select only certain playlists to be synced to my iPhone? 

    You need to start over with Music. On the iPhone Music screen uncheck sync music. Also, on the Summary screen uncheck "Manually manage music and videos", then sync and it should clear off your phone.
    Next, choose the music you want to sync. If you want to fit more on check "Convert higher bit rate songs to 128 kbps AAC". This will reduce quality slightly, but it won't be noticable unless you are using $300 headphones.

  • New owner here.  How can I select specific pages of a document found on line and print just those pages.  What I see is the ability to select only 1 page at a time and print that one selected page only.   Thanks much.

    New owner here.  I see that in printing I can select one page and print same.  How do I select numerous pages from a document and print only those selected pages? I would not think that I can only select one page at a time.  Thanks much

    Just change the range as illustrated below.  If you don't see that, click the Show Details button.

  • How can I register the iTunes without a credit card? No "None" can be selected but only different kinds of credit cards. Thanks!

    How can I register the iTunes without a credit card? No "None" can be selected but only different kinds of credit cards. Thanks!

    Get an iTunes gift card & redeem that in iTunes using your existing Apple ID.
    Then the option for none, regarding a credit card should appear.

  • How to print selection only

    I saw this question on another forum and realized that I have no idea how to print 'selection only'. The only options in the file>print menu are for the pages desired. I see no way to print only the selected portion of a page. There must be a way, but I do not seem to be able to find the answer.
    Thanks, Fran

    I tried it with 'Grab' but the printout was too large. I then discovered that if you use 'Snag It' you can accomplish the same thing. Press Shift-command-3 for the whole screen or Shift-command-4 for a part of the screen. this creates a PNG image which when opened in 'Preview' can be printed. Rather complicated, but it does work. Thanks for steering me in the right direction.
    Fran

  • How can I select only the music I want on my iPhone without putting all of it on?

    How can I select only the music I want on my iPhone without putting alll of it on my phone?

    http://support.apple.com/kb/PH12313

  • I'm trying to print from a full size 30x42 pdf of an AutoCAD file.  I only want to print an 8 1/2 x 11 portion, in scale.  How do I select the window and print in scale on my 8 1/2 x 11 printer?

    I'm trying to print from a full-size, 30x42 pdf of an AutoCAD file.  I only want to print an 8 1/2 x 11 portion, in scale.  How do I select the window and print in scale on my 8 1/2 x 11 printer (Brother MFC-9340CDW)?

    You might be better off contacting an AutoCAD support group.

  • HT3349 How do you select a sub-set of cells from the entire document so you can print only those specific cells?

    How do you select a sub-set of cells from the entire document so you can print only those specific cells?

    There is no analog to MS Excels print range.  So the next best thing is to plan your data so that you don't need to use print range.  The next best thing after that is to select the range of cells you want to print, then copy, the switch to the application Preview, and create a new document from the clipboard (select the menu item "File > New from Clibboard") then select all, copy then paste to the destination (maybe an email) .
    You can also paste that portion of the table into another table (or a new table) by pasting values only

  • When making a book, one of my photos selected appears only on the flap, how can I get it to be in the book also?

    1.  When making a book using Iphoto, one of my photos selected appears only on the back flap, how can I get it to be in the book also? I added an extra page thinking that would help, didn't! 
    2.  It says that you can photos anytime, can I add a photo that I did not select originally without starting completely over?
    ...any suggesstions for both problems would be appreciated. Thanks

    you can use a photo many time is the same book - simply drag it from the photo strip to the photo frame you want it in - even though you have used it before you can still use it again
    And adding photos is easy - go to the photo (in an album, event or photo view) and drag the photo(s) to the book under keepsakes - it will now be available to use
    LN

  • How to put selected videos in one place so I can only show those on my TV and not ALL of the videos I have ever taken.

    How to put SELECTED  videos in one place, so I can ONLY show the SELECTED videos on my TV and not ALL of the videos I have ever taken

    YYou have to describe your issue in more detail. Are you using iTunes? Trying to see it in Apple TV, etc, etc.

Maybe you are looking for

  • 7th Gen iPod Nano shuts off randomly

    My iPod Nano is just about my favourite piece of hardware that I've ever bought from apple. I'm primarily a pc user when it comes to computers, and having a basic, small iPod means I can listen to music and podcasts and leave the more complicated tas

  • 58" Cloud TV...can no longer connect to Windows computer via MediaShare

    Have a Dell all in one and 58" Toshiba Cloud TV. Love the TV, but have had nothing but trouble with the MediaShare function. Sometimes it finds the computer on my network, sometimes not. Now won't at all for the last week. Have tried rebooting comput

  • How can I change my iCloud I'd to match my apple I'd?

    How can I change my iCloud I'd to match my apple id?

  • Using Data/Services to connect to NY Times API

    I'm new to flex and have been trying to use the NY Times API to import xml data.  After clicking the Data/Services tab and selecting "xml" I click the "path" button and insert my path http://api.nytimes.com/svc/books/v2/lists/BooksPaperback.xml?&api-

  • Archiving BPEL processes

    Hi, I'm looking at programatically tidying up our BPEL domains, and have taken a look at the cookbook entry http://www.oracle.com/technology/pub/articles/bpel_cookbook/blanvalet.html Can anyone explain to me where all the process state is archived TO