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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors