Bruce White
New Member
- Joined
- Feb 29, 2008
- Messages
- 5
I need some help with relationships in PowerPivot. While I have strong Excel 2010 and pivot table skills, the relationships in PowerPivot seem to be escaping me. I've read through a half-dozen tutorials on it and searched and read various forum posts. I think I know how it should work, but when I create the pivot table I think I want, it all goes PFUT!
I have 2 tables--Skills and Info (see below). Skills lists people and their skills. One combination of person and skill per row. A given person can have multiple skills. Multiple people can have the same skills. The Info table has one row per person. There is then a corresponding column with more information about that person.
Skills
[TABLE="class: grid, width: 500"]
<TBODY>[TR]
[TD]Name
[/TD]
[TD]Skill
[/TD]
[/TR]
[TR]
[TD]Joe Swanson
[/TD]
[TD]Baseball
[/TD]
[/TR]
[TR]
[TD]Mary White
[/TD]
[TD]Volleyball
[/TD]
[/TR]
[TR]
[TD]Chua Vang
[/TD]
[TD]Soccer
[/TD]
[/TR]
[TR]
[TD]Billy Krueger
[/TD]
[TD]Bowling
[/TD]
[/TR]
[TR]
[TD]Mary White
[/TD]
[TD]Baseball
[/TD]
[/TR]
[TR]
[TD]Billy Krueger
[/TD]
[TD]Soccer
[/TD]
[/TR]
</TBODY>[/TABLE]
Info
[TABLE="class: grid, width: 500"]
<TBODY>[TR]
[TD]Name
[/TD]
[TD]Information
[/TD]
[/TR]
[TR]
[TD]Joe Swanson
[/TD]
[TD]Went to school in Wisconsin; strong Excel skills
[/TD]
[/TR]
[TR]
[TD]Mary White
[/TD]
[TD]Graduated college 2000; works at IBM
[/TD]
[/TR]
[TR]
[TD]Chua Vang
[/TD]
[TD]Teaches ASL; married with 2 children
[/TD]
[/TR]
[TR]
[TD]Billy Krueger
[/TD]
[TD]Tried out for American Idol; spends too much time on Facebook
[/TD]
[/TR]
</TBODY>[/TABLE]
I created a relationship between the tables from Skills to Info using the Name column. Thus, Info was the "Related Lookup Table" and the Name column in Info was the "Related Lookup Column".
I wanted to create a pivot table with slicers such that if I chose a skill, only the people with that skill would be displayed, along with their corresponding informaiton. However, the pivot table wants to replicate every name with every skill and therefore repeating all the information multiple times.
Ultimately, my goal is to display to the user a unique list of skills (via a Pivot Table slice?). When a user clicks on a given skill, every person with that skill would be displayed on another clickable list. Clicking on that person's name results in the user seeing more information about that person (pulled from the Information column of the Info table). As a bonus display, when the person's name is clicked, I'd like to see what other skills they have.
For example, my list of skills would be: Baseball, Volleyball, Soccer and Bowling. When I click "Baseball", I would see Mary White and Joe Swanson. Then when I click Mary White, I would see "Graduated college 2000; works at IBM". Additionally, if possible, I would like to see that Mary has skills in Baseball and Volleyball.
Is PowerPivot the tool to do what I need?
Thanks in advance for any help!
Bruce
I have 2 tables--Skills and Info (see below). Skills lists people and their skills. One combination of person and skill per row. A given person can have multiple skills. Multiple people can have the same skills. The Info table has one row per person. There is then a corresponding column with more information about that person.
Skills
[TABLE="class: grid, width: 500"]
<TBODY>[TR]
[TD]Name
[/TD]
[TD]Skill
[/TD]
[/TR]
[TR]
[TD]Joe Swanson
[/TD]
[TD]Baseball
[/TD]
[/TR]
[TR]
[TD]Mary White
[/TD]
[TD]Volleyball
[/TD]
[/TR]
[TR]
[TD]Chua Vang
[/TD]
[TD]Soccer
[/TD]
[/TR]
[TR]
[TD]Billy Krueger
[/TD]
[TD]Bowling
[/TD]
[/TR]
[TR]
[TD]Mary White
[/TD]
[TD]Baseball
[/TD]
[/TR]
[TR]
[TD]Billy Krueger
[/TD]
[TD]Soccer
[/TD]
[/TR]
</TBODY>[/TABLE]
Info
[TABLE="class: grid, width: 500"]
<TBODY>[TR]
[TD]Name
[/TD]
[TD]Information
[/TD]
[/TR]
[TR]
[TD]Joe Swanson
[/TD]
[TD]Went to school in Wisconsin; strong Excel skills
[/TD]
[/TR]
[TR]
[TD]Mary White
[/TD]
[TD]Graduated college 2000; works at IBM
[/TD]
[/TR]
[TR]
[TD]Chua Vang
[/TD]
[TD]Teaches ASL; married with 2 children
[/TD]
[/TR]
[TR]
[TD]Billy Krueger
[/TD]
[TD]Tried out for American Idol; spends too much time on Facebook
[/TD]
[/TR]
</TBODY>[/TABLE]
I created a relationship between the tables from Skills to Info using the Name column. Thus, Info was the "Related Lookup Table" and the Name column in Info was the "Related Lookup Column".
I wanted to create a pivot table with slicers such that if I chose a skill, only the people with that skill would be displayed, along with their corresponding informaiton. However, the pivot table wants to replicate every name with every skill and therefore repeating all the information multiple times.
Ultimately, my goal is to display to the user a unique list of skills (via a Pivot Table slice?). When a user clicks on a given skill, every person with that skill would be displayed on another clickable list. Clicking on that person's name results in the user seeing more information about that person (pulled from the Information column of the Info table). As a bonus display, when the person's name is clicked, I'd like to see what other skills they have.
For example, my list of skills would be: Baseball, Volleyball, Soccer and Bowling. When I click "Baseball", I would see Mary White and Joe Swanson. Then when I click Mary White, I would see "Graduated college 2000; works at IBM". Additionally, if possible, I would like to see that Mary has skills in Baseball and Volleyball.
Is PowerPivot the tool to do what I need?
Thanks in advance for any help!
Bruce