Level mismatch on common dimension

Options

When trying to change applies to in the model - I get the error "Level mismatch on common dimension" - essentially switching out a list for another. 

Tagged:

Answers

  • When you change a list in a module (whether its at the module level, or for a single line item), any related formulas must be aligned with the dimensions... this could relate to formulas in the module you are changing, or formulas in other modules (or even lists) that reference the module/line item you are changing.

     

    When I make these types of changes, I usually do the following:

    1. Back up the model, or create a copy and perform these changes in a copy first.
    2. Create a copy of the module you are changing.
    3. Remove all the formulas from the copy (they exist in the original module, so you can restore them quickly)
    4. Change the dimensions as needed (in the copy)
    5. Restore the formulas... you many have to change some of them based on how you changed the dimensions
    6. Link the new module into the model as needed, and then unhook the old module
    7. Unit test to ensure that the replacement module is doing what its supposed to do
    8. Assuming all is well, delete the old module
    9. Rename the new module to be the name of the old module

    This sounds like a lot, but its quite efficient and orderly.

     

    Cheers!