This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi all,
I am using Power BI to create a dashboard.
The dashboard uses MySQL database connection to connect to data and use this data to create reports on dashboards.
Data from the MySQL database is retrieved by writing individual queries in Power BI Query Editor, in-order to avoid loading whole data from the database.
I am getting the following issue while refreshing my dashboard:
"MySQL: fatal error encountered during command execution"
I have tried some ways suggested on Microsoft Power BI blog to fix this issue.
But, in this case these doesn't seem to work.
One thing to note here is the data we use, keep on increasing on daily basis. It is the daily activity of users captured on a website.
Can you please help us to fix these issues in Power BI?
Hi @Pragati11,
I could not reproduce your problem on my side. Only when I set variables incorrectly in custom query code, this error was prompted when trying to connect to database.
In your scenario, did you set variables? Could you post the code here?
Besides, please test to load whole data from database without writing individual queries, to check if issue persists when refreshing.
Regards,
Yuliana Gu
Hi @v-yulgu-msft,
Thank you so much for your reply.
Just a question here: What do you mean by setting variables incorrectly?
In my case the tables are like very big on the database nearly 3-4 GB already. And the data on them keeps on increasing on daily basis.
If I load the whole table will it not make Power BI much slower?
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 9 | |
| 7 | |
| 6 |
| User | Count |
|---|---|
| 48 | |
| 27 | |
| 24 | |
| 24 | |
| 22 |