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 August 31st. Request your voucher.

Reply
ncitrin
New Member

Data Model Duplicating Column and Appends 1 to Header

I'm appending two different tables in power query. The resulting table shows 1 column, but once it goes into the data model it splits into two separate columns and appends a 1 to the end of the header.

 

I've attached a screenshot with the column names highlighted that are of issue.

zAssemblyVsComponent and zNewVsReman 

 

How do I remedy this issue?

 

Data Model Duplicate Columns.png 

1 ACCEPTED SOLUTION
jennratten
Super User
Super User

Hello - the screenshot you provied looks to be from Power Pivot in Excel.  I have seen the scenario you described occur when a table is loaded to the Power Pivot data model, another table is created in Power Query that has the same name (perhaps the old table was renamed or removed and recreated) and then the new table is also loaded to the data model.  The reason why another table appears in your list with a 1 at the end is because a second table with the same name was loaded to the data model.  To remedy this issue you can unload the tables from the data model and then reload the correct table.  Just be sure to make note of any measures/calculated columns that you have added to that table before unloading it, so you can add them back.  To prevent this from occurring, if you are replacing a table in Power Pivot, you will either need to replace the contents of the same table in Power Query that is loaded to the data model, or unload the original table before loading the new table.

If this post helps to answer your questions, please consider marking it as a solution so others can find it more quickly when faced with a similar challenge.

Proud to be a Microsoft Fabric Super User

View solution in original post

4 REPLIES 4
ncitrin
New Member

We took your advice and it helped solve the problem. Thanks again for your help!

jennratten
Super User
Super User

Hello - the screenshot you provied looks to be from Power Pivot in Excel.  I have seen the scenario you described occur when a table is loaded to the Power Pivot data model, another table is created in Power Query that has the same name (perhaps the old table was renamed or removed and recreated) and then the new table is also loaded to the data model.  The reason why another table appears in your list with a 1 at the end is because a second table with the same name was loaded to the data model.  To remedy this issue you can unload the tables from the data model and then reload the correct table.  Just be sure to make note of any measures/calculated columns that you have added to that table before unloading it, so you can add them back.  To prevent this from occurring, if you are replacing a table in Power Pivot, you will either need to replace the contents of the same table in Power Query that is loaded to the data model, or unload the original table before loading the new table.

If this post helps to answer your questions, please consider marking it as a solution so others can find it more quickly when faced with a similar challenge.

Proud to be a Microsoft Fabric Super User

Yes, this is Power Pivot. Had to step away from the model, but what you're saying makes sense. I'm going to test it as soon as get back to the model and will report back on the forum. Thank you for your help!

 

You're welcome!

If this post helps to answer your questions, please consider marking it as a solution so others can find it more quickly when faced with a similar challenge.

Proud to be a Microsoft Fabric Super User

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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