I have two dimension; 1 is a 'Users' dimension which has information about users of our system, the other is a self-referencing dimension containing industry hierarchies.
The Users dimension is linked to the Industry dimension by Industry ID.
I tried adding the Industry hierarchy to the Users dimension but when I go to browse the hierarchy all I see is IDs of the DimUser table, so I think that I did something wrong.
My goal is to add the industry hierarchy to the User dimension.
Can I do this with my current architecture?
Here are some examples of the two dimension:
DimUsers
- ID
- Name
- IndustryID (FK -> DimIndustry.ID)
DimIndustry
- ID
- IndustryName
- ParentID (FK -> DimIndustry.ID)
Thanks in advance.
Preston,
You should be able to do this using the following steps:
1.) Edit the User dimension
2.) In the "Data Source View" pane of the dimension editor, and select "Show Tables..."
3.) Add the DimIndustry table to the data source view pane
4.) Drag the "IndustryID" from your DimUsers table as a new attribute.
5.) Change the "NameColumn" property to pull the "IndustryName" column from the DimIndustry table.
6.) Create your hierarchy using the attributes you want and process.
HTH,
- Steve
No comments:
Post a Comment