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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

PowerBI MySQL UUID Error (Non-negative Number Error)

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?

4 REPLIES 4
v-robertq-msft
Community Support
Community Support

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:

https://community.powerbi.com/t5/Desktop/Non-negative-number-required-error-while-appending-tables/td-p/490901

https://social.technet.microsoft.com/Forums/en-US/77d9826f-4511-444d-b89e-865b0e8a282e/power-query-nonnegative-number-required?forum=powerquery

https://community.powerbi.com/t5/Desktop/OLE-DB-or-ODBC-error-DataSource-Error-MySQL-Fatal-error/td-p/512516

 

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.

Anonymous
Not applicable

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).

amitchandak
Super User
Super User

@Anonymous , do have any field count? or any parameter you have created?

Anonymous
Not applicable

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

CharlieBI_0-1620221294722.png

 

This is a fresh PowerBI document

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.