How to delete all members at same sub level under one dimension?

Hello,
How do I delete all members at a certain sub level in a demension? I know I can do this manually in the hyperion essbase admin panel, but the number of members is large. How would I go about removing these members using a script or excel?

Hi,
The API used in the excel template is 9.2. You may need to update this according to your version of Essbase.
You can delete the existing module and import the esb32.bas and esberror.bas module which is located at C:\Hyperion\AnalyticServices\api\include directory (this is for version 9)
You also need to install the API when you install essbase client (add-ins) on your PC.
To open the VBA, click Ctrl-F11 after you open the workbook.
The program should output 3 message if everything is OK:
1. Write Outline Success: hOutline = ... (any number)
2. Restructre Successful: hCtx = ..., ESB_DOR_ALLDATA = 1
3. Close outline Successful: hOutline = ... (any number)
Regards

Similar Messages

  • How to delete all those images of an event "in one go" which were not used in a foto book of that event?

    How to delete all those images of an event "in one go"
    which were not used in a foto book of that event?

    To select multiple photos in an event for deletion hold down the Command key and click on those you want to delete.
    OT

  • Excel 2010 cubeformula MDX syntax: how to get all members at a certain level of an AS cube hierarchy?

    I have a cube hierarchy that has full path
    [Location].[Location Hierarchy].[Department].&[DEPT 07].&[East].&[Manager].&[site code]
    I can return the full hierarchy using something like
    [Location].[Location Hierarchy].[All]
    However, I want to return everything ([All]) at a lower level of the hierarchy. For example,
    [Location].[Location Hierarchy].[Department].&[DEPT 07].&[All]
    To get everything in Dept 07.
    Of course your first response would be - just use the same statement without ALL
    [Location].[Location Hierarchy].[Department].&[DEPT 07]
    but the problem is I want to use a lookup cell that allows the user to select All, East, or West
    =Cubemember("MyCube","[Location].[Location Hierarchy].[Department].&[DEPT 07].&[" & B1 & "]")
    And that works for East and West, but not All, because I can't just append [All]  partway down a hierarchy to get everything underneath (at least as far as I can tell).
    Can anyone throw me a hint on how to accomplish a dynamic cubemember formula that includes/allows an All option?
    I even tried embedding the cubeformula in an IF statement (If B2="All", Cubemember(formula1), Cubemember(formula2)) but Excel didn't like that either.
    Thanks for any help!!

    If you want to display the sum for a given hierarchy level, you should use CUBESET function.
     e.g.
    =IF(B2="all",CUBESET("mycube","[Location].[Location Hierarchy].[Department].&[DEPT 07]","all"),Cubemember("MyCube","[Location].[Location Hierarchy].[Department].&[DEPT 07].&["&B1&"]"))
    Hope it helps.

  • How to delete all iPad emails.

    I would like to select all emails and delete at one time

    How to Delete Email on the iPad
    http://ipad.about.com/od/iPad_Guide/ss/How-To-Delete-Email-On-The-Ipad.htm
    How to Mass Delete Emails from iPhone and iPad Inbox (with video)
    http://suiteminute.com/how-to-mass-delete-emails-from-iphone-and-ipad-inbox/
    How to delete ALL mail messages from iPhone/iPad in one step
    http://www.conferencesthatwork.com/index.php/technology/2014/01/how-to-delete-al l-mail-messages-from-iphoneipad-in-one-step/
     Cheers, Tom

  • How to delete all bookmarks and replace with backup?

    Trying to sync my new iPad with my MacBook Pro and iPhone via MobileMe has created some fun new problems. For starters: I now have a full set of duplicate Safari bookmarks. Two of everything.
    Fortunately, I (think) I made a safe backup before performing the fateful merge (suggested by Sync) that caused the duplicates. So now I'd like to delete ALL my bookmarks and re-import the saved backup bookmarks.
    But I can't figure out how to delete all my bookmarks at once. It looks like my only choice is to delete them one at a time. Is there some way to simply trash the entire bookmarks file and re-import the ones I saved?

    HI Adam,
    You can use Safari Prairiefire to find duplicate Safari Bookmarks.
    http://www.balooba.se/baloobasoftware/index.html
    After you install the software which you can use in demo version to do this click the Get Bookmarks tab. Then from the menu click: Tools / Check Duplicates.
    I've had the same thing happen using my MobileMe account also.
    Carolyn

  • How to delete all previous icloud data from current icloud after sighning in with the current icloud account

    so i sighned into someone elses device with the current icloud account and i sighned out. Some of the icloud data from the other device is now on mine. All i want to know is how to delete all the icloud data in my current icloud account from the other icloud account

    Hello ,
    I had the same problem and i have done everything manually.
    It's a shame that Apple doesn't put a "Reset to factory Settings" button or simply "Delete all data from iCloud.com". That way, it would be much simpler for everyone including myself.
    Winston Churchill is right unfortunately . Happy deleting !
    Kind Regards,
    Moonburn

  • How to delete all duplicate songs in Itunes in one step?

    How to delete all duplicate songs in Itunes in one step?

    Apple's official advice on duplicates is here: Find and remove duplicate items in your iTunes library. It is a manual process and the article fails to explain some of the potential pitfalls such as lost ratings and playlist membership, or that sometimes the same file can be represented by multiple entries in the library and that deleting one and recycling the file will break the other.
    Use Shift > View > Show Exact Duplicate Items to display duplicates as this is normally a more useful selection. You need to manually select all but one of each group to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks, however this works best when performed immediately after the dupes have been created.  If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin.
    Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background, this post for detailed instructions, and please take note of the warning to backup your library before deduping.
    (If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed.)
    The most recent version of the script can tidy dead links as long as there is at least one live duplicate to merge stats and playlist membership to and should cope sensibly when the same file has been added via multiple paths.
    tt2

  • How to delete all messages in my inbox?

    How to delete all messages in my inbox?

    For messages, go to the conversation list (if viewing a conversation, tap Messages at the top left), tap the Edit button on the top left, tap the minus sign to the left of any of the conversations you want to delete, tap Done at the top.

  • How to delete all mails with one klick?

    It's annoying to delete every single mail.
    How to delete all mails with one klick, like in the paperbasket?
    Thanks

    If the emails have been previously deleted (I.e. in the trash folder), tap Edit at the top of the list. You should see a delete all button at the bottom. If the messages are in a standard folder, they need to be handled one at a time.

  • How to delete all contacts in thr e iPod Touch????

    The synchronization with Outlook does not work properly: some contacts appears 2 times, some appears 3 times and some appears 4 times in the ipod.
    And the sync hsa deleded several contacts in my Outlook.
    So, I want to delete all contacts in the iPod and then do a new clean sync.
    But I do not find an option to delete all contacts in the phone.

    thanks,
    this helped to reset the sync history.
    But I still do not know how to delete all contacts in the ipod.

  • How to delete all objects in a package?

    Hello,
    I've seen a similar question here. But is there a tool or a smart way to delete all objects in a dev class or a transport request?
    Best Regards
    Volker

    These are really 3 questions??
    1. To delete objects in a request there are a number of ways, here is one:
    Position cursor on modifiable request.
    Double click on request and choose 'Objects' tab
    Choose object line you want to delete and click 'Delete'
    Save your changes.
    2. To delete objects in a Dev Class:
    Go to work bench --> edit object, Class and give your class name, you will see delete option at the bottom of the screen.
    3. How to delete all objects in a package:
    here is a link with the steps you need for this: http://benxbrain.com/en/index.do?onInputProcessing(brai_object_thread)&001_threadid=0000161442&sysid=WP5&pgmid=R3TR&object=DOMA&obj_name=DEVCLASS&child_param=

  • How to delete all ALERTS in iCal at once?

    Over the years I have added repeating Events with Alerts to iCal on various devices (some of them passed on to my relatives). As a  result I get plenty of Alert emails or sounds. I find it onerous to go through all repeating events to delete the alert. Hence my question: how to delete all Alerts at once?
    Thanks for any suggestions/pointers/ideas. Cheers, Veit

    Hi John,
    Thanks so much for your help with this problem. I am trying to remove alerts for a couple of specific shared calendars (which I can edit) but am having some difficulty due to my inexperience with applescript! I am also not sure where else to go for help solving this problem.
    My plan is to run your script a couple of times specifying one calendar at a time by name.
    This is the modification I made to your script:
    tell application "Calendar"
      activate
              delay 0.5
              display alert "Removing all alarms from your editable calendars" message "This process may take some time and is permanent. Are you sure you want to do this?" buttons {"Yes", "No"} cancel button 2
              set calname to "Consultant_on_call"
      --- repeat with myCalendar in (calendars whose writable is true)
              repeat with myCalendar in (calendars whose name is calname)
                        repeat with myEvent in events of myCalendar
      delete display alarms of myEvent
      delete mail alarms of myEvent
      delete sound alarms of myEvent
      delete open file alarms of myEvent
                        end repeat
              end repeat
              display alert "Removing all alarms from your editable calendars" message "This process is complete." buttons {"OK"} default button 1
    end tell
    Are you able to tell me what I am doing wrong? Thanks again.
    Andrew

  • How to delete all bookmarks in iCloud ?

    Hi every body, could someone tell me how to delete all my bookmarks in iCloud ?
    Thanks for attention and answer, Vincent

    Hey mzhill78
    Remove you icloud contact information on all your IOS devices, go to the icloud setting on you ios device and turn off the addressbook syncing, when it asks you "do you want to remove keep the address on your ips device you say NO...  So now your MacBook is the only thing syncing too the icloud.
    Go to Addresbook and look for the menu option find duplicates.
    After that wait for your laptop to sync this too icloud.  to check give it about 2 min depending on how many changes log into your icloud account at www.icloud.com and check too see if the syncing has updated whats in the cloud.
    If it has then urn on your addressbook syncing in iclouud settings on your IOS devices and all should be back too normal.
    Hope it helps,
    If this has sloved your problem please mark it as Solved thank you..

  • How to delete all Contacts in BB 8530 ?

    Hi,
         Can any one tell  me how to delete all exisiting phone contacts in a single cli c? currently i am deleting one by one contacts.

    Hi
    If you want to clear your address book, load Desktop Manager (DTM) up, plug BB in, go to Backup/Restore.
    Go to Advanced, click on Address Book on the screen click "Clear" button.
    Blackberry Best Advice - Back-up weekly
    If I have helped you please check the "Kudos" star on the right >>>>

  • How to delete all items in the HUB ?

    How to delete all items on shot in the HUB ?

    Hi all,pay attention to the words I've marked in bold in the first answer from the technical support member:  "From the BlackBerry Hub, hold your finger on the date at the top of the list. A side menu will appear. Click on the Garbage Can to delete all messages prior to that date" At first, I also didn't understand how to make it works, but you have to slide until the date is at the top of displayed messages, then you can tap and hold to select all messages preceding that date. 

Maybe you are looking for

  • Link to attachment not working in Collaboration Task

    Hi All, We found an issue when we are attaching documents to a Collaboration Task which is created from a Collaboration Room: When we link documents that have been already stored in KM everything works fine. However when we use the direct upload at T

  • Database referesh

    Dear All, I have created 1 report. I have changed my database values.but those values not replacted in my report. I never chaged anything like column or formulas. When i click refere button in my dashboard still showing same values. What can do pls s

  • Resolution on iMac 27"

    Hi everyone. I am a very new Mac user. Last week I bought the new MBPR 13" and love it. Yesterday I bought the iMac 27" i7 with the Nvidia 4bg card. Here's my question. On the MBPR the text and screen looks great. Not so much on the iMac 27" I only s

  • [JS]About image

    Hello, My name is avi. I want to place an image in my document. I tried all the things but i am not able to do this. I create a logo in Illustrator then i exported it to pdf.So i have my logo in pdf file. I want to place that logo in a document with

  • Weblogic MP3 upgrade

    I attempted to upgrade a weblogic 9.2mp1 to mp3. When I executed the the installer I get the following during my install aunching installer server923-linux32.bin. Install logs will be written to /app/ Extracting 0%....................................