Forum Discussion
How to approach this project-data model?
Hi Anonymous ,
I sounds like both of the tables that you have described are dimension tables (i.e. both have a unique client/consultant code and other descriptive information about them).
As such, you need a fact table which records information around the projects that have been completed or are in progress, with information such as [projectNumber], [clientNumber], [projectStartDate], [projectEndDate], [consultantNumber], [hoursWorked], [dateHoursWorked] and so on.
From this point, you relate your two dimension tables to the fact table and this gives you the beginnings of a basic star-schema model on which to build your report. You will also want to add a calendar table to your model and relate it to relevant date fields in your fact table.
You would use fields from your dimension/calendar tables as axes or descriptors in visuals, and you would calculate your measures and metrics from the fact table.
Pete
1 Reply
- BA_Pete
Super User
Hi Anonymous ,
I sounds like both of the tables that you have described are dimension tables (i.e. both have a unique client/consultant code and other descriptive information about them).
As such, you need a fact table which records information around the projects that have been completed or are in progress, with information such as [projectNumber], [clientNumber], [projectStartDate], [projectEndDate], [consultantNumber], [hoursWorked], [dateHoursWorked] and so on.
From this point, you relate your two dimension tables to the fact table and this gives you the beginnings of a basic star-schema model on which to build your report. You will also want to add a calendar table to your model and relate it to relevant date fields in your fact table.
You would use fields from your dimension/calendar tables as axes or descriptors in visuals, and you would calculate your measures and metrics from the fact table.
Pete