Need to Make Pivot Table from 4 Data Tables

lmcauthen00

New Member
Joined
Oct 30, 2018
Messages
9
I have 4 tables with the same columns (sales, 4 different revenue accounts) and need to make 1 pivot table with the combined data but haven't had any luck. I have tried using the data model, power pivot, power query... Can anyone help me?? I can obviously combine all tables and make 1 pivot, but I have to keep them separate as they are used for other calculations at the same time.
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
sure,
make all ranges what you want as tables
load these tables to PQ editor
clean these tables: remove all unnecessary columns from each table (stay with: Name, Customer Type, Revenue Type and from Jan-2018 to Dec-2018 = 15 columns) (you can do that after Append - it's up to you)
Use Append option to join these tables
select first three columns (Name, Customer Type, Revenue Type) then choose from the menu: UnPivot Other Columns
Close&Load to ... As connection only
---
Insert - PivotTable
Use an external data source - Choose connection - select Query - Append1 - ok
choose place: New worksheet or Existing worksheet
put Name, Customer Type and Revenue Type to the ROWS Area
put Attribute to the COLUMNS Area
put Value to the VALUES Area
change Value to SUM if necessary
Report Layout - Show in Tabular Form
Subtotals - Don't show subtotals

that's all I think :)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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