Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
alexamatthews
Regular Visitor

Append Queries - Add Source Table Column

I would like to have a column in an appended table which details the original table. For example, I have timesheets for individual team members which are appended to one table with all recorded time. I would like to be able to view that data by project, sub-project, and also team member, so I could see that 20 hours was spent on the build phase of project X, of which 10 hours was Dave and the other 10 Bill. At the moment I can see the project & sub-project, but not the name of the team member which is only given as the title of the original table. Unfortunately I can't change the source data to have an additional column of team member name.

 

Dave Timesheet

Project XBuild10
Project YTest5

 

Bill Timesheet

Project XBuild10
Project YTest5

 

Combined Timesheet

Dave TimesheetProject XBuild10
Dave TimesheetProject YTest5
Bill TimesheetProject XBuild10
Bill TimesheetProject YTest5

 

Is this possible? I can't seem to find anything on it. 

 

Many thanks

1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

@alexamatthews ,

 

Create a Folder and put the excel files into the folder, then connect to the folder-> Load. In query editor, you will get below:

1.PNG 

Then click the expand icon in the Content column, you can achieve the final result.

Capture.PNG3.PNG 

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

@alexamatthews ,

 

Create a Folder and put the excel files into the folder, then connect to the folder-> Load. In query editor, you will get below:

1.PNG 

Then click the expand icon in the Content column, you can achieve the final result.

Capture.PNG3.PNG 

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

Refer, these power query solution. They will work in power bi too

https://chandoo.org/forum/threads/powerquery-append-include-column-with-sheet-name.31480/

https://www.mrexcel.com/board/threads/add-custom-column-with-sheet-name-as-value-content-power-query...

 

Then Append :https://radacad.com/append-vs-merge-in-power-bi-and-power-query

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.