How do I clear out the measure data in a 10g cube?

Does anyone know of an OLAP feature that I could call to zero out the measures stored in the cube before I refresh from the source data?
I'm new to Oracle OLAP, but I have some experience with Essbase and I have quite a bit of experience with Oracle PL/SQL. The database is 10g.
Here's my problem. My dimensions and cube are mapped to Oracle tables. I've built an Oracle procedure, using DBMS_LOB / xml_clob functionality, to refresh my cube. The procedure worked successfully to initially load the data. It works successfully when changing the dollar amounts in source data. But it's possible that a record in my source data can be totally removed. When this happens, the dollars from the removed record are still showing up in the cube total after the procedure executes. I had assumed the CleanMeasures="true" parameter would take care of this, but it is not.
thanks,
Nancy
Here's the parameters I'm passing to BuildDatabase in my Oracle procedure:
' <BuildDatabase Id="Action2" AWName="BUDGET.BUDGETS" BuildType="EXECUTE"
RunSolve="true" CleanMeasures="true" CleanAttrs="true" CleanDim="true"
TrackStatus="false" MaxJobQueues="0">';

If you are doing a reload every time then you can issue following commands to clear data from cube.
lmt name to all
allstat
clear all from <cubename>prttopvar
You can wrap above commands in pl sql procedure using dbms_aw.execute package and execute it before cube load starts. Instead of clearing it from whole cube you can clear only from one partition also. Just take a look at clear command in olap DML 10.2 reference.
Thanks,
Brijesh
Edited by: Brijesh Gaur on Aug 10, 2010 6:47 AM

Similar Messages

  • I entered the incorrect password for my home wifi network and now I can't change it. How do I clear out the wrong password so that I can enter a correct one?

    I entered the incorrect password for my home wifi network, and now I can't change it. How do I clear out the wrong password so that I can enter a correct one?

    Settings > wi-fi  then tap on the little blue arrow next to the network you want to change. You have to tap on the blue arrow and not on the name.
    Now at the top tap on "forget this network".
    After that, the iPhone will think your home network is a new network and will ask you for the password to connect.

  • How do i find out the tables (data)effected in a schema after a particular time stamp

    how do i find out the tables (data not structure)effected in a schema after a particular time stamp?
    pls email in [email protected]

    You can't do that. That would be a real security risc.
    /KAj

  • How do i find out the purchase date and my coverage plan?

    how can i find out the purchase date and my coverage plan on my ipad?

    Try here for the warranty coverage. Your date of purchase would be tied to wherever you bought the device.
    https://supportprofile.apple.com/

  • How do I find out the purchase date of my MacBook Air?

    I need to find out the purchase date of my MacBook Air so I can register it as a product in my Apple ID. I bought the MacBook from a friend, and he doesn't remember the date it was purchased on.

    Giving away / Selling your Mac / Resetting  the computer to the factory condition
    http://support.apple.com/kb/HT5189
    http://www.thesafemac.com/how-to-prepare-your-mac-for-sale/

  • How do I clear out the list of choices from the down arrow in the navigation? Can't find anything that tells one how to empty it

    When you add a new tab, one can go to the navigation bar and click on the down arrow and get a choice of previous sites. I want to EMPTY that list. I cant out how to do it.

    Entries in the location bar drop down list with a yellow (blue on Mac) star at the right end are bookmarks.<br />
    You can remove such a bookmarked item that shows in the list if you open that url in a tab and click the yellow star in the location bar.<br />
    This will open the "Edit This Bookmark" dialog and you can click the Remove button to remove the bookmark if you want to remove such a bookmarked entry.<br />
    See also:
    * https://support.mozilla.com/kb/Clearing+Location+bar+history
    * https://support.mozilla.com/kb/Cannot+clear+Location+bar+history

  • How can I clear out the movies?

    In itunes, I have selected my Itouch from the left side of the screen.
    in the main screen, at the top, it says summery, apps, music, movies, TV Shows, etc.
    I have selected Movies.. but there are no movies on the Hard drive. I deleted them all.
    But the listing below still shows them.
    How do I delete or clear that listing? Any ideas?
    thanks/

    macwildstar wrote:
    Too late.. the Hard drive just blew.. its toast, due to a power surge, (we have storms in the area).. im on the other computer now..
    next chance you get, buy an [UPS_|http://en.wikipedia.org/wiki/Uninterruptible_powersupply].
    How can I save the data on the I touch, when I reinstall itunes on the new HD?
    check this post by Zevoneer.
    additionally, see this post by Chris CA: http://discussions.apple.com/message.jspa?messageID=12257908#12257908.
    good luck !
    JGG

  • How can I clear out the "other" space on my startup disk?

    My startup disk is full as well, but I am barely using any space on my computer at all for files. I have also only had this laptop for about 9 months. I have been emptying my trash, clearing my dowloads, deleting anything I can to get more space, but its not helping because I barely have anything left to delete. I just looked into my storage space following the Lion's Storage Display steps, and this is what it looks like.
    I have no idea what to do, but I can barely use anything on my Macbook Pro without it telling me I'm out of space.

    To figure out what is filling the disk, the pane with "other" on it is about worthless.
    I find it much better to use OmniDiskSweeper instead. It will tell the the folders and files that are using the most disk space so that you can intelligently decide what is causing the problem.
    Allan

  • HT201303 How do I clear out the old card  to enter a new card so that I can get free apps

    How can I get my free apps if it's telling me to enter
    Enter a card I no longer have what do I need to
    Do?

    Entries in the location bar drop down list with a yellow (blue on Mac) star at the right end are bookmarks.<br />
    You can remove such a bookmarked item that shows in the list if you open that url in a tab and click the yellow star in the location bar.<br />
    This will open the "Edit This Bookmark" dialog and you can click the Remove button to remove the bookmark if you want to remove such a bookmarked entry.<br />
    See also:
    * https://support.mozilla.com/kb/Clearing+Location+bar+history
    * https://support.mozilla.com/kb/Cannot+clear+Location+bar+history

  • How can I find out the exact date or just month an...

    Can you help me on the above question??

    It's not written on your account, but you may contact customer service they might be able to help you: https://support.skype.com/en/faq/FA1170/How-can-I-contact-Skype-Customer-Service
    Andre
    If answer was helpful please mark it with Kudos and if issue is resolved mark it with solution. This will help other users find this answer more easily. Thanks in advance!

  • How do I clear out the messages storage content?

    When I look under storage I see 1.1 gig set for messages / deleted messages.  How do I free up this used and allocated space?

    Hello rayfromdouble oak
    You would need to go to your Messages app and delete the conversations that you have had in the past that are no longer needed on your iPhone.
    Edit or delete a conversation
    http://support.apple.com/kb/TI85
    Regards,
    -Norm G.

  • HT1430 How do I clear out the old windows when I double click?  We used to hold an icon at the bottom of the screen and touch the x's to delete.

    How do I delete old open windows.  Before the upgrade, I held an icon til it wiggles, then touched the x to delete.

    Double click the home button, then the material above the icon, swipe that up and away.

  • APPLE CARE - How do I find out the date of purchase of my mac?

    Can anyone point out how do I find out the exact date of purchase of my mac? I would like to purchase the apple care extended warranty and I do not recall the exact date of purchase of my mac...just before or after a full year...? Can I look it up anywhere?
    Many thanks in advance for your help.
    Max

    You can go to this site,
    https://selfsolve.apple.com/GetWarranty.do
    it tells you when your warranty expires which is 1 year after you purchased it, thats possibly the easiest way, but if you bought it from a store it may be different as it may be the date they purchased it.
    With the extension program, if i purchase one now, my MBP was purchased april last year, will the extended warranty ad onto the date i purchase the extension program or from april last year when i purchased the mbp? I'm wondering because if purchase it now that effectively makes it covered for warranty for up to 4 years!

  • Clearing out old process data

    How can I clear out old process data? In my test environment, I have several hung tasks that will not terminate. The tasks exist, but the process they were associated with no longer do.

    There was a bug in 8.0 that I believe is fixed in 8.2 where tasks assigned to a group were not removed when the process was terminated.
    Your easiest solution right now is:
    - create a dummy local user called "dummy" or something like that
    - go into adminui/process management/task management, find the tasks, and allocate them to the dummy user.
    They will still be there, but at least they won't irritate anyone.
    Howard
    http://www.avoka.com

  • How can I find out the date of a movie I am trying to pre-order if the date is not available/showing in the "manage pre-order" section?

    How can I find out the date of a movie I am trying to pre-order if the date is not available/showing in the "manage pre-order" section?

    Thanks so much for your reply King_Penguin. No, sadly there is not indication of the expected release date on the film, it's no where to be found. I have also tried to look in other places online, but no luck. I guess your latter statement jives more with my situation, that  being the studio/rights-holder hasn't feel inclined to provide the date.

Maybe you are looking for

  • Open Tickets - No Active Assignments

    Hello - I have been asked to create a report with tickets that are "Open" and have no "Active Assignments". Most tickets that are "Open" have at leaset one "Active" assignment. They want to find tickets that are open, but do not have any "Active Assi

  • My ipad gets a black bar over part of the screen then freezes up, please help

    Just today my 16gb ipad 2 ,bought in December 2011, started to get a black bar over part of the screen.  Sometimes 3/4 of the screen sometimes 1/4 then it freezes up and will not do anything.  If I try to reboot it I get a faint backlit only.  Any he

  • Trading Partner issue in ECC

    I have just activated the trading partner in ECC vendor/customer master on 1.09.08, thus all posting before this date was posted without trading partner information. In BCS, I plan to load balance as at 31.8.08 using flexible upload as opening balanc

  • How do I get to the install?

    I'm trying to upgrade to the newest version of Flash player.  I get as far as the screen that says "Read the licence" and "install".  The install button is gray and the only one that works is the "cancel" button. I would like to have the upgraded ver

  • SQL Statement is needed

    TABLE : A ============================ DATE-------------CCY------ EXCHANGE RATE ============================ 1-JAN-2012--------USD-------96.02 2-JAN-2012--------USD-------97.01 3-JAN-2012--------USD-------96.03 6-JAN-2012--------USD-------96.04 REQUI