Duplicate Row data in PowerPivot

flexinau

Board Regular
Joined
Sep 22, 2002
Messages
122
Hi all,

The Pivot Table I created is not producing the desired results.
I linked two tables (Table1 & Table2).

Table1 contains Customers for Jobs
Client.JPG
Table2 contains Work Orders for Jobs
Work Order.JPG

After adding Table1 and Table2 to the Data Model using Power Pivot toolbar and creating relationships using the Job number, it is producing a table with each Jobs number containing all Work Order numbers.
PivotTable.JPG

Do you guys know why the duplicates are coming up on the pivot table based on the link tables?

I have attached a copy of the Excel spreadsheet.

Thanks in advanced.
Pat
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
You need a value field in the pivot.
 
Upvote 0
EditRelationship.JPG


Alex, Does this give enough information on the relationship?
Rory, I will try to enter values into the pivot table but i did not think it should make a difference whether values were there or not?
 
Upvote 0
I was sceptical of Rory's statement but I should have know better. ;)

Per Phil_Seamark (Microsoft employee at the time)
Re: Power BI 1 to many Relationship gives out wrong results
"Think of it more as a full outer join........You can then use your filtering to decide what you'd like to display."

The filtering is what the below does when you have them unticked and then include values in the Pivot Table.
(Show items with no data on rows - Off)

1621415484803.png
 
Upvote 0
I am deeply hurt and offended... :)
 
Upvote 0

Forum statistics

Threads
1,215,949
Messages
6,127,880
Members
449,411
Latest member
AppellatePerson

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