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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors
Top Kudoed Authors