I really struggled with that title, I hope it made sense. I'm attempting to create a pivot table showing average survey scores over time by team and team member. What I'm having trouble with is how to deal with team members when they change teams. Unfortunately the system I use to retrieve survey scores is a 'black box' and the vendor wants to charge me multiple thousands of dollars just to add a team field to the report. So, I've been using index/match and a lookup table to assign team members to a team. The problem I have is, say a team member changes teams on 2/12. I can update the member's entry in the lookup table to the new team, however, this changes all survey's, not just the surveys since 2/12. I have been working around this, biding my time until my PC was recently upgraded to a machine capable of running PowerPivot in Excel 2013 no less! However, I'm still not sure how to accomplish this. My fact table looks similar to this (and I should mention, I'm simplifying this, there are also multiple surveys and the teams belong to different groups):
And my attempt at a lookup looks like the following but as you might guess, I can't create a relationship between the name fields due to many to many.
Ideally, I want to be able to do the following:
I've thought out several approaches, 1) creating a multi-column key on both tables (Name + Date), however, I imagine this wont work unless I have an entry in the lookup table with every combination of name and date. Doesn't seem practical. 2) creating an index/match in my source (an Excel table) and somehow matching the survey date to the corresponding effective date. I'd hate to do this at the source level because like I mentioned earlier, I'm trying to tie together multiple surveys/sources. Rob's book has been my bible and I'm wondering if a disconnected table might be the answer here but I just haven't been able to work it out yet.
Any suggestions would be greatly appreciated.
And my attempt at a lookup looks like the following but as you might guess, I can't create a relationship between the name fields due to many to many.
Ideally, I want to be able to do the following:
I've thought out several approaches, 1) creating a multi-column key on both tables (Name + Date), however, I imagine this wont work unless I have an entry in the lookup table with every combination of name and date. Doesn't seem practical. 2) creating an index/match in my source (an Excel table) and somehow matching the survey date to the corresponding effective date. I'd hate to do this at the source level because like I mentioned earlier, I'm trying to tie together multiple surveys/sources. Rob's book has been my bible and I'm wondering if a disconnected table might be the answer here but I just haven't been able to work it out yet.
Any suggestions would be greatly appreciated.