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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
L9
New Member

Microsoft SQL : The column 'Name' was specified multiple times for '_'.

Hi Community,

 

In my Power Query, I have a strange error after filtering a column on a value.

 

The error message is : "Microsoft SQL : The column 'Name' was specified multiple times for '_'"

 

Despite the error message content, I don't have multiple occurences of column 'Name' in my query.

 

Thanks in advance for your help

7 REPLIES 7
JamalGilani
Frequent Visitor

Here is the screenshot of the error

JamalGilani_0-1699633723729.png

 

michaeltrilling
Regular Visitor

I just got this error when Appending two tables together where the columns had the same name but in different case.  One was all Caps and the other was mixed case:  CUSTOMER and Customer.  The crazy part is that the query looks fine in the editor.  You get the error on refresh.

PattemManohar
Community Champion
Community Champion

For detail understanding of the issue, Could you Please post the structure/screenshot of table for which you are getting this error. 





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




It happens sometime when you have bring data from multiple tables in Table grid.

But when you remove the relationship field it goes away.

Hi pattemmanohar,

 

Thank you for your quick reply.

 

I can only screenshot the error for data confidentiality purpose :

 

Capture.PNG

 

Hope this help to better understand the trouble.

PattemManohar
Community Champion
Community Champion

Based on the screenshot, I guess the query has more than one field with "Name" as columnname...  Please check and have unique alias names....





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




 Verify, if you can see multiple column names with name "Name" by navigativing to "Advanced Editor". You could get this error, when you merge queries, so validate from which query you get duplicate names. And change the column names before doing merge. It solves the issue.

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors