Data Model PivotTable

happyhungarian

Active Member
Joined
Jul 19, 2011
Messages
252
Office Version
  1. 365
Platform
  1. Windows
Hi, I'd like to utilize the Data Model within Excel but the issue I'm running into is that both of the data sets that I'd like to combine have duplicate values for each of the fields I'm trying to match. Essentially I have two lists of expenses by vendor and account. On each list the vendor name and account number can show up multiple times in various combinations. Therefore I wont have one unique value for the vendor or account. Is there a method instead of the Data Model that could easily combine these worksheets/tables into one?

Thanks,

Jesse
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
For when you are cross referencing the two tables, you need a third table that has just the single occurrences. This Table becomes a middleman between the other two.
If you are trying to append the two tables to each other, you'd need PowerQuery/Get and Transform, to perform the Append operation.
 
Upvote 0
It looks like that method requires the columns to be uniform from worksheet to worksheet. Is that true? The issue I have is that the two worksheets I want to combine come from different sources so the columns aren't uniform. I would need some type of mapping/linking that would say which column on one sheet is equivalent to which column on the other sheet. I'm trying to avoid having to manually consolidate the workbooks/reports into one list so that they can be pivoted together.

Jesse
 
Upvote 0
In either case, no.
With either the fields are the named columns and you work with those fields.
With the Get and Transform append, you will want the field names in each Query results to be the same. The Query results should have the same data types assigned.
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
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