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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Anonymous
Not applicable

append queries (mysql)

Hello, 

 

I think I have found an issue with "append queries" with mysql: 

* If I add a new column to the original queries before appending the queries it fails with the following message "

« Erreur OLE DB ou ODBC: [DataSource.Error] MySQL : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'union all select `_`.`server` as `server`, `_`.`nom' at line 37.  ».
4 REPLIES 4
Anonymous
Not applicable

I am sorry, some errors in my testing, I need to revise my testcase : 

The issue occurs in "append queries", but it occurs when trying to append 3 tables, I can append 2 different tables but with 3 I get the error. 

 

GF

 

@Anonymous ,

 

This issue seems to be a sql syntax error, are you trying to input sql query in the advanced option when you connect to the mysql? Or you just append tables in query editor after importing the data source? Could you please share more details about what you have done before this issue occurs?

 

Regards,

Jimmy Tao

Anonymous
Not applicable

Hello @v-yuta-msft 

 

Thanks for getting back at me. 

The issue seems related to : https://community.powerbi.com/t5/Desktop/mysql-append-query-error/m-p/376476/highlight/false#M171077 

I did not input sql query I used the standard function of powerbi. It can be reproduce with the following steps : 

1) load 3 different tables in powerbi from mysql 

2) append 2 (any of the 3) tables into a new table -> it works (in query editor and dashboard editor)

3) append 3 (or more) tables into a new table -> it seems to work in the query editor, when I get back to dashboard editor and try to apply the changes I get the error message mentionned above

 

I hope it's clear. 

 

Thank you

gaful

Anonymous
Not applicable

Hello @v-yuta-msft 

 

Do you have enough information about the issue or do you need more information ? 

Is there anything that I can do to tackle this issue ?

 

Thanks

gaful

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.