Power Query: Custom Column to indicate which table data came from

cr731

Well-known Member
Joined
Sep 17, 2010
Messages
611
I am using Power Query to consolidate multiple tables that are identical except they represent different data (such as one table for Actuals, one for Budget, etc.). I want to consolidate these two tables, but I need an extra column to indicate which table each row came from, to distinguish Budget versus Actuals.

Can a custom column in Power Query show me which table the row's data came from?
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Once you've loaded your first table (Actuals), perform this last step before finishing: Add custom column named "Act/Bud" and fill in "Actuals".
Do the same with your Budget table: "Act/Bud" and "Budget".
Then append your actuals to your budget (in Combine)

LinkToFile
 
Upvote 0

Forum statistics

Threads
1,224,120
Messages
6,176,493
Members
452,732
Latest member
EWRUCK

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