Defining a Dimension Table with Primary Key for Dimension
When you are declaring the dimension table containing the primary key for the dimension, they should be declared in a lower-level tag, instead of directly in the hierarchy tab. For example, the following is not a valid declaration:
<hierarchy hasall="false" primarykey="time_id" primarykeytable="time_by_day"> ...
It should be declared as follows:
<hierarchy hasall="false" primarykey="time_id"> <Table name="time_by_day"> </Table> ...
Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now