How do I 'remove' a dimension from a cube when creating a crosstab?

I have a CUBE with 9 dimensions and one measure, This is based of a fact table that has a Materialized View with just 4 dimensions.
In JDeveloper I used the wizard to create a new crosstab using just the four dimensions that exist in the MV (removing the others).
....eventually the page was generated but it takes minutes....
Q. Is there a way to 'DROP' a dimension from JDeveloper crosstab when you query a CUBE?
[It looks like Oracle is internally using all 9 dimensions when some are "Hidden"  or not required!]
The only solution I have found is to create an extra CUBE using just the 4 dimensions (this works within couple of seconds)! But I will end up with 6 CUBES holding different dimensions combination, this feels wrong?
Q2. Is it bad practice to have multiple CUBES all based on one fact table, just to improve performace?
I hope you can help.
Steve

i think this question is more for the technical teams at the olap forum ;)
nevertheless: if you have a cube defined with 9 dimensions,all of them are necessary for retrieving the data, "hiding" some of them is possible by the means of "hidden dimensions"
nevertheless you have to specify which dimension, value gets substitued for those dimensions: usually it is a TOTAL level.
otherwise your results may be misleading or wrong, so specifying a dimension value for those hidden dimensions is the only choice to be consistent with the OLAP data model
btw: you can easily use a materialized view in this environment as well, when using the concept of a TOTAL dimension value
regards,
thomas

Similar Messages

  • How can I remove ASCII text from a field when I use it in a query

    How can I remove ASCII text from a field when I use it in a query?
    I am running a select statement on a table that appears to have ASCII text in some of the fields. If I use these fields in the where statement like the code below nothing returns:
    SELECT FIELD1 FROM TABLE1 WHERE FIELD1 IS NULL
    But the field looks empty if I do a straight select without the where clause. Additionally, one of the fields has text but appears to be padded out with ASCII text, which I need to strip out before I can use this field in a where or join statement. I have tried using a trim, ltrim, rtrim, to_char, nvl, decode and nothing works. When I use excel to run the same query it looks as if these ASCII fields are boxes.
    I have asked our DBA team to see what they can do to prevent these from going into the table, but in the mean time I still need to run this report.
    Do you have any suggestions?

    Can you provide an example? I've been trying (for
    example) "select translate(' test one', ascii(' '),
    'X') from dual" with no luck.
    Thank you.To replace space, you should query like this:
    select translate(' test one', chr(32), 'X') from dual instead of select translate(' test one', ascii(' '), 'X') from dual Thanks,
    Dharmesh Patel

  • How can i remove the icloud from my iphone when i don't have the password?

    I have a new iPhone where I restored from an old iPhone. The old iPhone had an iCloud account I hadn't used and I don't know the password. How can I remove the old iCloud account from my new iPhone? It keeps asking for the old password I don't have.

    You won't be able to delted the existing account without the password.  If you don't know it, you'll have to reset it as explained here: http://support.apple.com/kb/PH2617.  If you have trouble doing this, you can try contacting the Apple account security team for your country for assistance: http://support.apple.com/kb/HT5699.  You will have to prove your identity before they will reset the password.

  • How to derive the notification id from APEXP WF when creating Expanse report in 11i

    Hi,
    I am new to WF, I need to derive the notification id when creating AP Expanse report, I can achieve this by creating trigger on WF_NOTIFICATIONS table, but I need to derive this by creating custom procedure and that procedure need to be called from WF node. Here I am not getting when this notification id getting creating into WF_NOTIFICATION table.
    I have created custom procedure as below and calling this procedure from WF node.
    PROCEDURE insert_notif_details( p_item_type    IN VARCHAR2,
                                    p_item_key    IN VARCHAR2,
                                    p_actid        IN NUMBER,
                                    p_funmode    IN VARCHAR2,
                                    p_result     OUT NOCOPY VARCHAR2) IS
    BEGIN
            lv_report_header_id := p_item_key;
            l_notificationID    := wf_engine.context_nid;
            BEGIN
                     WHILE (l_notificationID IS NULL)
                     LOOP
                        DBMS_LOCK.sleep(1);
                        BEGIN
                         SELECT notification_id
                           INTO l_notificationID
                           FROM apps.wf_notifications
                          WHERE item_key = TO_CHAR(lv_report_header_id)
                            AND notification_id =(SELECT MAX(notification_id)
                                                    FROM apps.wf_notifications
                                                   WHERE item_key = TO_CHAR(lv_report_header_id));
                        EXCEPTION
                          WHEN no_data_found THEN
                               l_notificationID := NULL;
                               l_error_message := SQLERRM;
                          WHEN others THEN
                               l_notificationID := NULL;
                               l_error_message := SQLERRM;
                       END;
                     END LOOP;
            END;

    Hi,
    I'm not sure I'm reading your requirements correctly - do you want the process to move on as soon as anyone responds to it, or move on once everyone has responded to it?
    In the first case, it sounds like what you really need is a notification activity, which requires a response, sent to the role (or create an adhoc role which is assigned to everyone assigned to role 1 and role 2). As soon as one person responds to it, the notification is closed and the process moves on.
    In the second case, you should do the same but expand the roles. You will then need to write a post notification function to tally the votes and determine when to move on - have a look at the standard voting activity for an example of how to do it.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://thoughts.workflowfaq.com ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • How can I remove one page from adobe file

    How can I remove one page from adobe file, when I try to remove the page a dialgue box say "some pages are being used, so they can not be ereased"?

    Tools>Pages>Delete pages

  • How to remove a characteristic from a cube...

    Hi all,
    In the Cube definition, in the characteristic tab, I've moved a characteristic from 'Template' to 'Structure'.
    Then I re-activate my cube. But now, I can't select the Characteristic in order to remove it.
    How can I remove this characteristic from my cube ?
    Thx.
    Regards,
    Erwan

    Hello
    Yes, if data is there in the Cube it will not allow u to select the Characteristic. So move ur data to another cube using Data Marts then modify this cube i.e. remove the characteristic and then activate it. Again bring back the data. Creating update rules will not be a problem, since the characteristic will not in the cube.
    Deleting data, i believe not advisible. U might have huge volume of data.
    Best Regards....
    Sankar Kumar
    +91 98403 47141

  • 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

  • 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

  • HT4623 how do I remove credit card from information can't download or update anymore

    how do I remove credit card from information can't download or update anymore

    Open iTunes on your computer, click on your Apple ID and log in with your password. Edit your payment information.

  • How can we remove the commas from the Formula value in SAP BW BEx query

    Hi All,
    How can we remove the commas from the Formula value in SAP BW BEx query
    We are using the formula replacing with characteristic.The characteristic value needs to be display as number with out commas.
    Regards
    Venkat.

    Do you want to remove the commas when you run the query on Bex Web or in RSRT?
    Regards

  • How can i remove a card from iTunes ?

    How can i remove a card from iTunes ?

    If you want to remove a credit/debit card from your account then on your computer's iTunes you should be able to edit your payment info by going into the Store > View Account menu option and logging into your account, and on your account's details page there should be a payment link.  If you are doing it on your iOS device then tap on your id in Settings > iTunes & App Store and tap on 'View Apple ID' on the popup and log into your account  - that should also give you a payments link on your account's page.
    Changing payment info : Change or remove your payment information from your iTunes Store account (Apple ID)
    If you don't get the 'none' option on the payment details screen : Why can’t I select None when I edit my Apple ID payment information?

  • How do you remove credit card from apple store ios7

    How Do You Remove Credit Card From Apple Store With IOS7

    After establishing the Credit Card account (i.e. after you have made purchases), you can remove the credit card information by editing your payment info, choosing "None".
    Settings>iTunes and App Stores>Apple ID>View Apple ID>Sign-in>Payment Information

  • How do you remove credit card # from iTunes account

    How do you remove credit card # from iTunes account without entering a new one because added money to account from gift card?

    On your computer's iTunes you should be able to edit your payment info by going into the Store > View Account menu option and logging into your account, and on your account's details page there should be a payment link.  If you are doing it on your iPhone then try tapping on your id in Settings > iTunes & App Store and select 'View Apple ID' on the popup - that should also give you a payments link on your account's page.
    Changing payment info : http://support.apple.com/kb/HT1918

  • HT202667 how can I remove credit card from apple id ?

    i don't want to use apple id with credit card anymore i purchased enough apps for my apple device so now i wanna remove it so how can i remove credit card from apple id

    On your computer's iTunes you should be able to edit your payment info by going into the Store > View Account menu option and logging into your account, and on your account's details page there should be a payment link.  If you are doing it on your iPhone then tap on your id in Settings > iTunes & App Store and tap on 'View Apple ID' on the popup and log into your account  - that should also give you a payments link on your account's page.
    Changing payment info : http://support.apple.com/en-gb/HT1918
    If you don't get the 'none' option on the payment details screen : http://support.apple.com/en-gb/TS5366

  • How do you remove credit card from account so child can't make purchases?

    How do I remove credit card from apple ID so child can't make purchases?

    Account section of iTunes or App Store.
    Barry

Maybe you are looking for