- Be sure that all foreign keys has values on primary tables, in case of different sources, create name Query and add any missing data from the parent as unknown values using union, or make an outer join and use the isnull() functions to replace the null values with unknown values or default missing values
- Use Regular relation (First Option) between the Dimension and the Fact, if the relation in the database is 1 to many (Dimension is one and fact is many)
- Create different Hierarchically in the Dimension, so you can browse the dimension with different break down.
- Do not change the source data structure, try to make all change in the Analysis server.
- Use Fact relation (Second Option) if the Fact and Dimension are the same table
- User Many-to many (Third Option)
relation if you have a Fact want to make a relation with Dimension via another Fact that represented on a Measure group
- Use Reference relation
(Last tricky Option), if you want to link a Fact with Dimensions, that has indirect relation with the Fact dimension, this scenario will happen if you have multiple measure groups but if you have only one Dimension group, you can create a hierarchy in the dimension (in the development time, please untick materialized, with big data)
- Always make the Time dimension in the Server not in source database.
- Avoid big dimensions, do not try to construct dimension based on transaction tables, and if you did, do it in the group and summary level, not in the transaction level.
Thursday, June 24, 2010
Guide lines for creating a Cube structure
Use a Real actual data not a sample data in development time, so if there any error that can be happened due to the quality of data like (logical keys, and computed columns that may generate null values,..) will be caught very quickly in the design time.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment