Creating Composite Keys for levels of a Natural Hierarchy

The Current Country Attribute KeyColumn Property

mceclip0.png

…will be changed into

mceclip1.png

Whenever changing KeyColumn we must define NameColumn

mceclip2.png

…and check the Order By attribute is Key.

mceclip3.png

For the City attribute the changes are:

mceclip6.png

And the Customer Name property:

mceclip7.png

Now we should see the Warning Sign disappear and be able to Process this Dimension.

mceclip8.png

From a TARGIT End User perspective the Hierarchy is still the same.

Only difference is that related attributes are by default visible to the End User – this appears in the source data tab of the TARGIT Client like this:

mceclip9.png

Since the City attribute is now related to the Country, this relation is now visible to the End User. The same goes for Customer Name which has an attribute relationship to Customer Name.

This is not very useful in this particular case and therefore we choose to hide these related attributes in Analysis Services.

On the Customer Dimension Hierarchy you can expand the different levels and the related attributes appear to be seen.

mceclip10.png

Now we right click on the City attribute and choose properties

mceclip11.png

From the list of Properties we set Visible to False

mceclip12.png

When we have hidden both related attributes (and deployed/processed) the Source data tab in the TARGIT Client no longer shows the attributes.

mceclip13.png

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.