Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi all,
When using a MySQL dataset within PowerBI that contains a UUID with a foreign key, I get the following error:
Non-negative number required. Parameter name: count
Is there any fixes for this both PowerBI side or MySQL?
Hi, @Anonymous
According to my research, the order of the Appended Queries in the Power query seem to be possible to cause this kind of problem. Have you done any operations in the Power query?
If not, the problem should exist on the MySQL side, the large dataset can also be the possible reason, you can refer to these links:
Thank you very much!
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Robert,
Appreciate the reply! The dataset sadly is very small, 300 rows to be exact roughly speaking. I'm still new to PowerBI, and I have solely just created a new report and added the database (please see below reply where I show screenshot of such).
I don't, which is very odd..
I literally create a new PowerBI document, add my MySQL data source and select one of my tables that contains the foreign key
This is a fresh PowerBI document
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 134 | |
| 96 | |
| 78 | |
| 67 | |
| 65 |