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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply

Append Table include source name

Hello,

 

I need to merge together our team projects to create a dashboard, with the option to filter by the original table name. I've managed to merge my two data tables to create my append table but I'm stuck on how to pull through original source name.

 

I've tried using the ContentTypeID unfortunatelty it only shows ID Number and not the original table name

ShelleyBaynton_1-1626708306890.png

 

Thank you in advance 😄

1 ACCEPTED SOLUTION
mahoneypat
Microsoft Employee
Microsoft Employee

Prior to the append step, add a custom column in both tables to be appended with the same column name.  For example, add a column called "SourceTable" with a formula in the add column pop up of ="Table1" or ="Table2".

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

3 REPLIES 3
edhans
Super User
Super User

That data isn't available to Power Query. If it is a one time thing, then @mahoneypat solution will work.

If you want to have a little more control over it, consider this. I a table of my table names using the #table function.

edhans_0-1626739354562.png

Then I used Expression.Evaluate from an added column that got the data from those table names:

edhans_1-1626739401528.png

At that point, I just needed to expand the table contents. All data is the same format (column names, etc.) so it automatically does the Append operation.

You can see the full example in this file.

 

 



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting
mahoneypat
Microsoft Employee
Microsoft Employee

Prior to the append step, add a custom column in both tables to be appended with the same column name.  For example, add a column called "SourceTable" with a formula in the add column pop up of ="Table1" or ="Table2".

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


@mahoneypat thank you!

 

That worked perfectly 🙂

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors