PowerPivot - Consolidating 2 Tables

Laettner

New Member
Joined
Jan 9, 2018
Messages
1
I am new to PowerPivot and require some help in consolidating 2 tables.

I've imported the data in PowerPivot and created a relationship between the "INV" field in both tables:

Table 1
[TABLE="width: 128"]
<tbody>[TR]
[TD="width: 64"]INV[/TD]
[TD="width: 64"]Name[/TD]
[/TR]
[TR]
[TD]INV0001[/TD]
[TD]Apple[/TD]
[/TR]
[TR]
[TD]INV0002[/TD]
[TD]Orange[/TD]
[/TR]
[TR]
[TD]INV0003[/TD]
[TD]Grape[/TD]
[/TR]
[TR]
[TD]INV0004[/TD]
[TD]Pineapple[/TD]
[/TR]
[TR]
[TD]INV0005[/TD]
[TD]Banana[/TD]
[/TR]
</tbody>[/TABLE]

Table 2
[TABLE="width: 128"]
<tbody>[TR]
[TD="width: 64"]INV[/TD]
[TD="width: 64"]IO[/TD]
[/TR]
[TR]
[TD]INV0001[/TD]
[TD]a[/TD]
[/TR]
[TR]
[TD]INV0001[/TD]
[TD]b[/TD]
[/TR]
[TR]
[TD]INV0001[/TD]
[TD]c[/TD]
[/TR]
[TR]
[TD]INV0001[/TD]
[TD]d[/TD]
[/TR]
[TR]
[TD]INV0002[/TD]
[TD]e[/TD]
[/TR]
[TR]
[TD]INV0003[/TD]
[TD]f[/TD]
[/TR]
[TR]
[TD]INV0004[/TD]
[TD]g[/TD]
[/TR]
[TR]
[TD]INV0005[/TD]
[TD]h[/TD]
[/TR]
</tbody>[/TABLE]

Current Outcome
[TABLE="width: 152"]
<tbody>[TR]
[TD]Name[/TD]
[TD]IO[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]a[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]b[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]c[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]d[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]e[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]f[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]g[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]h[/TD]
[/TR]
[TR]
[TD]Banana[/TD]
[TD]a[/TD]
[/TR]
[TR]
[TD]Banana[/TD]
[TD]b[/TD]
[/TR]
[TR]
[TD]Banana[/TD]
[TD]c[/TD]
[/TR]
[TR]
[TD]Banana[/TD]
[TD]d[/TD]
[/TR]
[TR]
[TD]Banana[/TD]
[TD]e[/TD]
[/TR]
[TR]
[TD]Banana[/TD]
[TD]f[/TD]
[/TR]
[TR]
[TD]Banana[/TD]
[TD]g[/TD]
[/TR]
[TR]
[TD]Banana[/TD]
[TD]h[/TD]
[/TR]
</tbody>[/TABLE]

Desired Outcome
[TABLE="width: 180"]
<tbody>[TR]
[TD]Name[/TD]
[TD]IO[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]a[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]b[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]c[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]d[/TD]
[/TR]
[TR]
[TD]Orange[/TD]
[TD]e[/TD]
[/TR]
[TR]
[TD]Grape[/TD]
[TD]f[/TD]
[/TR]
[TR]
[TD]Pineapple[/TD]
[TD]g[/TD]
[/TR]
[TR]
[TD]Banana[/TD]
[TD]h[/TD]
[/TR]
</tbody>[/TABLE]

Unfortunately when i run my pivot table i don't get the desired result. What should i change to correct my table to get the desired outcome?

Thanks for your help!
Chris
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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