Hiding shared dimension hierarchies only for one cube

In many scenarios developers must deal with many cubes in the same project and share dimensions between them. It’s easy to set up something like this but try to imagine situation when one cube musts be browsed by fiscal dates and the others need to use calendar dates. It is not a problem when we don’t have shared dimensions in our solution but for some people it must be done with shared dimensions. But don’t be afraid – there is very simple solution to achieve our goal.

Let’s look at AdventureWorks Multidimensional project (You can download it from here). There are two cubes: Adventure Works and Mined Customers. Both of them use Date dimension – we need to set for Adventure Works to see only Calendar hierarchy and Mined Customers need to see Calendar and Fiscal hierarchies – let’s do this!

First of all open Cube designer of Adventure Works and go to Cube Structure tab. There is dimensions window and there we need to find Fiscal hierarchy:

Cube structure dimensions

The only thing that you need to set up Visible property of Fiscal hierarchy to False.

dimension properties

That is all! From now shared dimensions could be more flexible to use. Thank you!

Leave a Comment

Your email address will not be published. Required fields are marked *