Hi All,
I have a requirement for which i need input on the Cube design.
DWH tables are as follows
Transaction Table: This table contains employee performance details for each project on which they have worked on.
Id, ProjectId, ProjectStartdate, ProjectEnddate, EvaluationMonth, EmployeeId
Mapping Table: This table contains mapping between manager, role and employee
ManagerId, Roles(deliver head for Sharepoint, Deliver head for BI, Admin, HR, Accounts) , EmployeeID
1) One Manager can play multiple role and based on the role, It can assess performance of different set of employee under his/her team
2) If a Manager is a deliver head of BI department, In this case It can access the performance of all employees who work on BI project
3) But at the same time It can also play a role of HR
4) So when it select "HR" in the role filter, It can see the performance of all employees in an organization as "HR" role can access all the employees
Requirement:
I need to create a report from cube.
1) Report will have EvaluationMonth & Role as a filter Selection
2) Report will show average rating for employees, based on the login user oversees.
So if i login and i am a delivery head for BI department and HR, Roles filter will show (delivery head for BI project & HR) and If i Select Delivery head for BI then Report show avg rating for all BI employees and if i select HR as a role then it should
show me average rating for all the Employees as HR can access all the employees performance.
I guess it can be done using many to many mapping but i need little more information as in the past i have implemented many to many mapping when the mapping table has only two fields like (Accountid and Customerid) and in this case we have three fields not
sure whether i need to split the above mapping table to two tables.
Any help is appreciated. Thank you