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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
ghpbi
Frequent Visitor

Mystery error when APPENDing query: “The field 'Field4' already exists in the record.”

Hello all,
I’m stuck on an error/circumstance I’ve not run into before. When attempting to APPEND Query2 to Query1 . . .

Clipboard01.png

 

 

. . . an error is generated: “Error: Expression.Error: The field 'Field4' already exists in the record.”

ghpbi_1-1681871172993.png

 

 

However, between the two queries involved, ‘Field4’ only exists one time. It doesn’t exist at all in Query1. And in Query2 it only exists once.

ghpbi_2-1681871172995.png

 

 

Notes:
1. All of the search results I’ve located that contain resolutions for the error refer to legitimate instances of duplicate field names. But that’s not the case here. Also, recall this is an APPEND, not a MERGE.

2. The error is not consistent. For example, ‘Field5’ in Query2 does not create an error during the APPEND.


3. The error does not appear to be linked to a specific data Type.

4. Another inconsistency, the error occurs in some queries containing an APPEND, but not in others.

5. The issue is happening both in dataflows (Power Query Online) and Power BI Desktop (Power Query).
Clipboard02.png

 

 

 

My next test is splitting the dataflow into individual dataflows containing only one APPEND or MERGE per dataflow.

 

What have I left out that you would like answered?

 

Please let me know your thoughts. I’m hoping someone has triumphed over this issue already. 🙂

 

Thank you!

1 ACCEPTED SOLUTION
ghpbi
Frequent Visitor

We found a solution for the error. The answer is wrapping offending APPEND queries with Table.StopFolding().
Table.StopFolding - PowerQuery M | Microsoft Learn

View solution in original post

2 REPLIES 2
JonasArnout2
Advocate I
Advocate I

Thx, very strange error indeed.

We encountered this error after moving some queries to dataflows, which is a non foldable source... but then again all appended tables are sourced from dataflow

ghpbi
Frequent Visitor

We found a solution for the error. The answer is wrapping offending APPEND queries with Table.StopFolding().
Table.StopFolding - PowerQuery M | Microsoft Learn

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.