The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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
Here is the screenshot of the error
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.
For detail understanding of the issue, Could you Please post the structure/screenshot of table for which you are getting this error.
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 :
Hope this help to better understand the trouble.
Based on the screenshot, I guess the query has more than one field with "Name" as columnname... Please check and have unique alias names....
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.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
82 | |
65 | |
53 | |
52 |
User | Count |
---|---|
128 | |
115 | |
80 | |
65 | |
63 |