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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Adam_123
New Member

Append Query Error

I'm trying to append two queries together. One is from a csv file while the other from an xls worksheet. The data comes up fine in the query editor but when I try to Close & Apple, I get the following error:

 

Geography
Column 'Column1' in Table 'Geography' contains a duplicate value 'ACSSF' and this is not allowed for columns on the one side of a many-to-one relationship or for columns that are used as the primary key of a table.

 

The column above just contains data. I haven't defined any relationships or created any models. I'm just trying to append the rows from one query to another.

1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

Hi @Adam_123 

from simple data models relationships are defined automatically.

So, first remove relationships in report mode then do you appen workaround in Query Editor


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

2 REPLIES 2
az38
Community Champion
Community Champion

Hi @Adam_123 

from simple data models relationships are defined automatically.

So, first remove relationships in report mode then do you appen workaround in Query Editor


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Thanks a lot @az38 . That worked!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.