From Power Pivot to Pivot table

lezawang

Well-known Member
Joined
Mar 27, 2016
Messages
1,805
Office Version
  1. 2016
Platform
  1. Windows
Hi
I have 2 tables in 2 different sheets and I want to do Vlookup using Power Pivot. So I want to know the Salary of each employee. I managed to upload both tables to PowerPivot then I created a link (one to many) then I upload them to Excel Pivot table. I pivot table when I tried to create a table which show Employee Name and Salary, excel added all employees salary and assign the resul to each employee. I tried different way still not getting the right answer. I would appreciate if you can help. The file is shared below but also pasting my tables here. Thank you very much


Book1 (1).xlsx
ABCDE
1Nameaddressph#citycar
2mike1 main street1torontono
3eric2 main street2ottawayes
4erica3 main street3montrealyes
5dan4 main street4torontono
6danny5 main street5torontoyes
7sammy6 main street6ottawayes
8maddy7 main street7montrealno
9sean8 main street8torontoyes
10shane9 main street9torontoyes
HR



Book1 (1).xlsx
ABC
1namesalaryphone1
2john1001
3mary2002
4alex3003
5sam4004
6ed5005
7sue6006
8jack7007
9lynn8008
10david9009
Salary


Book1 (1).xlsx
BC
3Row LabelsSum of salary
4dan4500
5danny4500
6eric4500
7erica4500
8maddy4500
9mike4500
10sammy4500
11sean4500
12shane4500
13Grand Total4500
pivot
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
When you create your pivot table, make sure to choose "Use this workbook's Data model". You should then see a list of all the tables in your workbooks. If you drag the fields you want, it will probably ask you to create a relationship between the tables, or you can do it manually via Data → Data Tools → Manage Relationships. Relate the name columns in both tables, and you should end up with exactly your third table.
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,306
Members
452,633
Latest member
DougMo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top