Delete from dimension

Hello All,
I need to compare my dimesnion to the fact tables that use this dimension and delete all the rows in the dimension with the Sks that are not being used on the fact tables.
I wrote a query to get all the Sks that are not being used. Now how can I feed the output of this query to the delete statement.
So i want to delete from dimension where Sk = result of the query.
Any ideas of a good way of doing this ?

zooz -
This may help: Create a staging table that joins your fact table with your dimension or lookup table - thereby eliminating all values not in your fact table. Populate your dimension table(s) from the staging table. Truncate staging table.
We join to most of our fact tables early in our OWB mappings to solve this problem.
Good Luck
TXB

Similar Messages

  • Custom category Hierarchy setting  Deleted from dimension (0XAEWCCAT)

    Hi
    Custom category Hierarchy setting  Deleted from dimension (0XAEWCCAT) i am unable to find the hierarchy option  Data source administration in Production, all my category reports doesnu2019t  show hierarchy. In RSRT the hierarchy is fine.
    Any idea how do we get the setting back,
    I know front end content transport  from Dev will help, but we are working on some developments and donu2019t prefer transport at the moment.
    Regards,
    Mahesh

    If I look at the available parameters in the helpfile 2 things are strange in my opinion:
    1)the parameter is called approvalstatusmsg, approval status was the V4 naming convention of the function, right now it is called workstatus, so it might be a V4 function. Never used it myself but maybe it is something not correctly migrated to v5.
    2) Even if it is working in V5, which I don't know for sure, then it is strange that you only have variables for Categroy, time and entity, since you can setup the workstatus for more then these 3 dimensions in V5 which you would also like to have in a case you set it up for more then 3 dimensions. For example for if you want to use Category,time,Entity & Product dimension in the workstatus, you would also like to inform the people which product is updated, since only just category,time and entity won't say that much.
    So I think you best check with support if this function is still usable in V5 or if it is an old function from V4. and if it is working in V5, how do you get the right parameters in the variables when you setup workstatus for other dimensions then just Category/time/Entity.
    I would like to know the results!
    Joost

  • Re aggregation when a member is deleted from dimension

    Hi All,
    I am aware that deleting a member from a non-partitioned dimension of a cube will trigger a re-aggregation.
    The behaviour I am seeing is that this re-aggregation takes as long as (slightly less) than a full initial solve. For e.g. a full initial solve takes around 30 minutes, whereas a re-aggregating the cube after a dimension member is removed takes roughly around 28 minutes. Re-aggregating the cube just after the second re-aggregation is then quick, around 2 minutes
    The member that was removed from the dimension does not have any data associated with it in the cube, so was expecting the re aggregation to be quick as it does not affect any of the existing aggregated data.
    Could someone explain this behaviour?
    The cube is compressed and is partitioned by Time Dimension. I am on Oracle 11.2.0.2
    Thanks

    There certainly can be a performance difference between 'Fast Solve' and 'Complete'. When no dimension members are changed, the fast solve will usually be quicker because it engages incremental aggregation. But your situation is different because you are adding new members. In theory this should only impact the latest partition, but it does not due to some known bugs. Here are two that I believe are relevant to your case. Neither is publicly visible at this point.
    BUG 12536825 - CHANGED RELATION WON'T RETURN THE RIGHT VALUE
    Bug 11934210 - CC USES FULL BUILD INSTEAD OF INCREMENTAL WHEN RELATION CHANGED
    The RELATION in both cases refers to the parent-child relationship in the dimension. When you add a new member to the dimension, this relation is changed. The effect of bug 12536825 is that partitions that are not really involved (because there is no data for the new member) are re-aggregated anyway. The effect of bug 11934210 is that these partitions can get fully reaggregated even no data has changed in that partition.
    These bugs are not (as of writing) fixed in any public patch, but you may be able to get a one-off fix if this is seriously impacting your performance. I would open an SR describing the problem. You can refer to my name, the bugs above, and this post so that it will be properly forwarded.

  • How to Delete the dimension from the cube ?

    Hi ,
    how to Delete the dimension from the cube ?
    i have added the new dimension by assiging one characteristic to that dimension .
    now i  want to delete it ,
    but system saying that   Dimension ZXXX  contains InfoObjects; deletion not possible .
    how to delete it ? any help .
    Thanks

    Make sure you donot have any data in cube. If you have some data in cube, then you will not be able to see Delete option.
    Right click on the cube-->Delete data.
    Then double click on the cube>Goto Edit mode> select the IO under that Dimension> right click> now you will be able to see the Delete option (provided you have deleted all the date from Cube)
    Then right click on Dimension-->Delete
    Regards,
    Pavan

  • Maxl Command to delete a dimension from a outline

    Hi All,
    What is the maxl command to delete a dimension from a outline.
    Thanks,
    Ram..

    Read :- HOW can i delete the members in dim using MAXL
    It has your answer.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Delete Z dimension from DIMINFO on user_sdo_geom_metadata

    Hi,
    How Can i delete z dimension from user_sdo_geom_metadata.
    Thanks

    Can you just try something like:
    1)
    update user_sdo_geom_metadata a set a.diminfo= your_new_diminfo_without_z_dim
    where table_name ='...' and column_name = '...';
    2) assuming Z dimension is the last one.
    declare
    newdim MDSYS.SDO_DIM_ARRAY;
    begin
    select diminfo into newdim
    from user_sdo_geom_metadata
    where table_name ='...' and column_name = '...';
    newdim.trim;
    update user_sdo_geom_metadata a set a.diminfo= newdim
    where table_name ='...' and column_name = '...';
    end;
    /

  • Deleting infoobjects from Dimension in Cube

    Hi All,
    I am trying to delete infoobjects from a dimension in a cube. My constraint is that I cannot delete all the data in the cube. This dimension is a new dimension which I had created 1 month ago. So, I deleted all the requests which I had loaded after creating this new dimension, so that this Dimension table gets emptied. I have also adjusted the dimension from RSRV. The dimension table is now empty. Still, I am not able to delete the infoobjects from this dimension or delete the dimension altogether.
    Any pointers to this will be highly appreciated.
    regards,
    Saikat

    Hi,
    I had thought about remodelling. I can do it in Dev and make the changes, and transport them to Q. The constraint is that in Q there are 2.8 million records and I don't want to delete the data in Q. In case the transport fails, I cannot use remodelling in Q (to do this we will have to open up the system; not recommended).
    I can selectively delete only those requests which contained data in the new dimension. But I think the same issue will occur as in Dev currently (even if the dimension table is empty, deleting a dimension is not allowed).
    regards,
    Saikat

  • How can we delete a dimension from the classic planning applications

    Hi Friends,
    I am trying to delete a dimension from the planning classic application but i am unable to find out the delete option to delete a dimension. I created the dimension from the Administration -->dimensions --> Add dimension.
    If we want to delete a dimension how we can delete that dimension, I heard meta data is stored in the RDBMS so that why if we want delete dimension we need to delete in RDBMS so please tell me the location in RDBMS to delete dimension. i am using sql is RDBMS.
    Thanks in advance......

    As John mentioned, it is not supported and advisiable to delete a dimension from Planning application. but yes you can take a chance with some risk if you need to do so.. this opertaion is tested in 9.2 but i never tried in EPM V11.
    You will need to delete all the children first, then the dimension.
    BE SURE YOU HAVE A BACKUP OF YOUR APPLICATION BEFOREATTEMPTING THIS PROCEDURE.
    You will need to delete all the children first, then the dimension.
    If you have the dimension in forms, you may also need to (after step 5) go into the hsp_formobj_def_mbr table and delete all references of that object ID. Then delete the dim id in thehsp_form_layout table. Recycle services of Planning.
    Procedure: If you create a custom dimension in planning and wish to delete it, here is how you might remove it from SQL manually.
    it is recommended that only someone familiar with relational databases attempt this.The following assumptions are being made about the dimension: No forms have any references to thedimension. Any and all attribute dimensions have been removed from the dimension. Any and all members have been removed from the dimension. All security access has been removed from dimension. Any Alias associated with the dimension has been removed.
    1. Open the Enterprise Manager for SQL server
    2. Open the database that has your planning application
    3. Open the table HSP_OBJECT
    4. You need to find the row that has the dimension name you want to delete:
    5. Take note of the OBJECT_ID in my example it is50051, don't delete it yet.
    6. Open the table HSP_MEMBER
    7. Find and delete any rows that have a MEMBER_ID equal to the OBJECT_ID from step 5.
    8. Close the Table HSP_MEMBER
    9. Open the table HSP_MRU_MEMBERS.
    10. Find and delete any rows that have a DIM_ID equal to the OBJECT_ID from step 5.
    11. Close the table HSP_MRU_MEMBERS.
    12. Open the table HSP_DIMENSION
    13. Find and delete any rows that have a DIM_ID equal to the OBJECT_ID from step 5.
    14. Close the table HSP_DIMENSION
    15. Also delete it's reference from the HSP_UNIQUE_NAMES table.
    16. Delete the row in the HSP_OBJECT table that you found in step 4.
    17. Close the HSP_OBJECT table.
    18. Open Essbase Application Manager for the application and remove the dimension from the necessary Essbase outlines
    19. Restart the application server.
    good luck!!!
    -KP

  • Deletion of Dimension Table data in Process Chain Step

    Hi,
    I am trying to delete the InfoCube Contents using a Process Chian.This process is successfully deleting the Fact table contents, but not dimension table contents.
    I need your help to automate the deletion of dimension table contents.
    FYI--
    We are using BW 3.0 B.
    Thanks in Advance.
    Vardhan.

    Hi
    Unfortunately is not possible. I had in the past the same issue and I had also a confirmation from SAP.
    You can use RSRV to delete unsed value, manually or build a program.
    the process chain allows only to delete the fact table.
    regards
    Mike

  • Colour differences & LR not deleting from hard drive

    Hi,
    I am running a Dell Dimension 1100, a NEC MultiSync 70 monitor, Xp SP 2 home, Olympus Master 2 and a full version of Lightroom 1.0,Photoshop CS2, and use a Olympus E-500 DSLR.
    I have a slight issue with how Lightroom shows the colours of my pictures when i am comparing Olympus Master 2 v. Lightroom 1.0. Most pictures its hard to tell the difference without going back and forth constantly, but when i look at my pictures of flowers or landscapes, my pictures look so much more vibrant in Olympus Master compared to Lightroom. Is this a settings issue? or perhaps something else?
    Also.....
    when deleting pictures from Lightroom, it asks me if i wish to delete from the hard drive or just remove from Lightroom, when i choose delete from hard drive, after it says its done, if i go look at the folder its still there :/.
    any help would be apprieciated, I am a novice dslr user and still learning how to use the softwares out there

    Are you shooting images in raw or jpeg mode?
    I assume that Olympus Master 2 is the raw processing software bundled with your camera. If so, then you are asking why Olympus software renders pictures differently than Lr. This question has been asked (and answered) many times but it boils down to the fact that the Olympus default rendering could be far different than that chosen by Lr. Also, Olympus may embed proprietary information in the raw image useful to Master 2 but entirely unknown to Lr.
    If you want Lr to operate more like Master 2, then create a Lr preset (with the appropriate adjustments -- likely a saturation boost), then apply this preset when importing.
    Finally, the camera raw engine (ACR) used by Lr is noted for producing images more muted than that produced by software bundled with cameras. In my opinion this is a good thing since the default rendering that many cameras produce is not at all natural. But the powerful Lr develop module allows me to create any interpretation I choose. Including a head spinning contrast and saturation boost.

  • Podcast files randomly deleted from hard disk but remain on ipod

    Hi,
    I'm running the latest iTunes with a 5G (brand new) 80Gb Video Ipod.
    I have subscribed to several podcasts via http://www.podiobooks.com
    iTunes seems to work okay for a while, but then I files go missing on the PC. The file seems to have been deleted from the iTunes folder, but remains on the ipod.
    I don't see this effect with music or video, just podcasts.
    Is anyone else experiencing this problem?
    I have stripped and reinstalled everything on my ipod and cleared the itunes library three times now trying to resolve this problem.
    Any ideas?
    Cheers
    D.
    Dell Dimension 9200 Other OS Windows Vista Business

    "Unfortunately Yasu is just for 10.4 and I'm on 10.3.9."
    Look two lines below the 10.4 version and you will see the version that works for 10.3.9. (Where it says "Download version 1.0.3 for OS X 10.2 - 10.3".)
    http://jimmitchell.org/projects/yasu/

  • Delete the dimension data

    Hi Experts,
                   How can we delete the dimension data from RSRV?
    Regards,
    Vali

    Hi,
    Apart from what is said above try this also.
    You can clean-up the dimensions in transaction RSRV with the check -> elementary tests -> transaction data -> Entries not used in the dimension of an InfoCube
    Dimension tables have a huge impact on InfoCube performance. The star schema design works best when the database can assume minimal records in the dimension tables and larger volumes in the fact table.
    Each dimension should be of approximately equal size and that the file size of each dimension should not make up more than 10 percent of the associated fact table.
    You may have performance issues when DIM tables are bigger than the FACT tables  (degenerative dimension). This can happen if you regularly delete data from the cube, because the data is only deleted in the fact-tables and not in the dimensions.
    You can clean up them using the above method.
    Hope it helps.
    Thanks,
    JituK

  • Can ODI journalising help to identify if any member deletes from hierarchy

    Hi
    I am applying journalizing to identify if there is any change in hierarchy.
    I extract dimension hierarchy into a DB table on which journalizing is already applied.
    If there is insert in the DB table (new member added), the ODI identifies it, any updates my target from this journalizing table.
    Now, if i delete a member from my dimension and then extract this dimension members into DB table, it just enters data into table(overwriting the existing rows).It does not identify if any member has been deleted coz that member still exist in the DB table & does not get deleted from the table.
    In this case how can we check if any member has been deleted from the hierarchy or not. Is there any other option to achieve this

    I just looked at all the ddls' i have the following syntax for all MV's
    CREATE MATERIALIZED VIEW WIS.SNAP_MAX_ENTITY
    TABLESPACE WIS_CDS_DATA01
    PCTUSED    0
    PCTFREE    10
    INITRANS   2
    MAXTRANS   255
    STORAGE    (
                INITIAL          80K
                MINEXTENTS       1
                MAXEXTENTS       UNLIMITED
                PCTINCREASE      0
                BUFFER_POOL      DEFAULT
    NOCACHE
    LOGGING
    NOCOMPRESS
    NOPARALLEL
    BUILD IMMEDIATE
    USING INDEX
                TABLESPACE WIS_DATA01
                PCTFREE    10
                INITRANS   2
                MAXTRANS   255
                STORAGE    (
                            INITIAL          80K
                            NEXT             80K
                            MINEXTENTS       1
                            MAXEXTENTS       UNLIMITED
                            PCTINCREASE      0
                            FREELISTS        1
                            FREELIST GROUPS  1
                            BUFFER_POOL      DEFAULT
    REFRESH FORCE ON DEMAND
    WITH PRIMARY KEYEdited by: vijayp on Aug 7, 2012 6:44 PM
    Edited by: vijayp on Aug 7, 2012 7:02 PM

  • Error while deleting from BIA index

    HI EXPERTS GETTING BELOW ERROR PLZ GIVE CLARITY ON THIS:
         1.A communication error occured, with the TREX TcpIp     
         2.Error while deleting from BIA index; reconstruction required     
    THANKS &REGARDS,
    rAMESH,

    Dear Ramesh,
    Please check the connection with BIA. Please ask the Basis team to check the BW to BIA connection if they maintain it.
    YOu can go to rsddbiamon2 and check BIA connection availibility for more details.
    If that is right please try redoing the step at which you faced error and it should help.
    Please close the question if you have got the answer or solved it.
    Regards,
    Den

  • Voice memos do not delete from iPhone...

    How do I delete the voice memos that are stored on my iPhone 4, and are no longer on my MacBook Pro?
    My voice memos folder on my MacBook Pro was over 4 Gb, so I copied its contents to an external hard drive. I left the folder and deleted the voice memos from it. I then synchronized with my iPhone 4, with the hopes that those voice memos would delete from the phone. Unfortunately, they did not.  iTunes 11 only shows 4 voice memos, and the iPhone has all of them.
    If I control + click on any of the voice memos on my iPhone while looking at them in iTunes, those memos will still play. iTunes 11 does not show an option to delete these voice memos via option + click.
    I am running Mac OS 10.9.1, and IOS 7. Thank you for your advice.

    Nope, won't do it.  If I gently swipe right to left, it jumps to other songs randomly.  It has stopped playing the song as it did before I rebooted the phone.
    I'm familiar with the swipe process, as I can do it successfully with texts, reminders, and so forth.
    Now as I look through my artists, I see perhaps 10% of them are dupes, and none will delete.  And in all cases one of the songs will have an I-Cloud icon, while the other does not.
    Please explain to me why any of my 300 songs in I-Phone (out of 1900 in I-Tunes) should be coming down from the Cloud?  All of them were uploaded from I-Tunes; none were purchased from the I-Phone.
    Thanks, Jim!
    Peter

Maybe you are looking for

  • Dequeue timeout NOT timing out

    Hi, we have an application that uses the pure JDBC drivers and the AQ api to dequeue messages off an 8.1.7.2 queue with object payloads. We user navigation next message and the queue properties are: owner : QUEUEMGR name : FXD_QUEUE queue table : FXD

  • How can I create PDFs dynamically using data from a DB?

    Hello, I am using ATG Dynamo to serve up pages for a B2C medical eCommerce site. I would like the ability to create PDF copies of a customer's invoice starting with a generic PDF template, then populating the document with the invoice-specific data a

  • Text looks blurred when played!

    Hey people, just a quickie (i hope). I have a green (Matte) background with Blue text ontop. its a section lasting 7 seconds. When the playhead is stopped on any part of the section it looks crystal clear and exactly how I want it. However when I pla

  • Oracle Report summay problem

    Hi, I created an rdf for customer statement where i display invoices and receipts. my output displays invoice number,invoice amount,receivedamount and balance amount and i need to summarize the balance amount Now, my requirement is for invoice with s

  • PSE 6 organiser and PSE 9 editor

    I do not want to use the pse9 organiser. I have pse6 and want to use the pse9 editor. Is there any way of making the pse6 organiser use the pse9 editor by using the edit tab in pse6? And will it work?