Change Dimension ID. HOW?

  • Dear people,

    in BIDS when you edit a cube, or dimension, there is a property against any dimension called ID

    How do I change it?

    History: after the migration from msas2000 the wizard created dimensions Period, Period 1 and Period 2 when converting from Period.Company, Period.Financial and Period.Daily.

    Now this IDs prevent my web app accessing the dimensions by ID since it assumes the Dimension ID is the same as its name.

    Help please.

    M.Sc.IT, M.B.A, MCTS BI 2008, MCITP BI 2008, MCTS SQL Dev, CSM, CDVDM

  • Sorry upfront as this isn't a direct answer to the question posted. I would seriously consider changing the model yourself, creating new hierarchies within the one Period dimension.

    Steve.

  • stevefromOZ (6/18/2008)


    Sorry upfront as this isn't a direct answer to the question posted. I would seriously consider changing the model yourself, creating new hierarchies within the one Period dimension.

    Correct. I was thinking about it, but it would mean SSAS development, possibly ETL development and heaps of Alphablox (JAVA) development to cater for it.

    We have more similar problems with other dimensions, Period is just an example.

    So, does anyone know?

    M.Sc.IT, M.B.A, MCTS BI 2008, MCITP BI 2008, MCTS SQL Dev, CSM, CDVDM

  • Still the question is up. Even if I rebuild the dimensions and combine them in one with multiple hierarchies, HOW do I change the ID of the dimension?

    Changing the name is simple, but it does not update the ID.

    Alphablox (IBM web OLAP tool)I believe uses IDs to reference to the dimensions.

    Please do not offer me to recreate the dimension

    M.Sc.IT, M.B.A, MCTS BI 2008, MCITP BI 2008, MCTS SQL Dev, CSM, CDVDM

  • I just realised that when you create a new dimension using the wizard there are two options.

    When using the first option, (Build dimensions using data source) it assigns the name of the table (view) to the ID of the newly created dimension.

    When using the second option (without using data source) it creates New Dimension, New Dimension 1 etc.

    how can you:

    1. Force it to use a particular name upon creation as ID

    2. Change the ID after the creation?

    M.Sc.IT, M.B.A, MCTS BI 2008, MCITP BI 2008, MCTS SQL Dev, CSM, CDVDM

  • aha, just had the same problem myself

    open the database in SSMS and right click on the dimension, script dimension as, create to

    change the ID to whatever you like and change the name, then run it

    then delete the old one in VS and associate the new one to the cube

    ah, you said do not recreate, ooops 🙂 use ALTER in the XML then

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply