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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
bfaivre
Regular Visitor

Bring MySQL JSON data type / query into Power BI

Hello,

 

I’m attempting bring data from a MySQL query into Power BI. The table has two columns “TagId” data type is INT and Value data type is JSON. The path I am wanting to return from Value is “pv”.

 

Here is the query that executes fine:

 

SELECT TagId, JSON_EXTRACT(Value, "$.pv") pv FROM TagValue;

 

When I put this query in the “SQL statement” in “Advanced options” of my “Get Data” I get the following error message:

 

2016-10-20_21-29-50.jpg

 

Anyone have experience or recommendations on how I can accomplish this?

 

Thanks,

 

Brian

1 REPLY 1
v-micsh-msft
Microsoft Employee
Microsoft Employee

Hi bfaivre,

 

I am not very familiar with MySQL, I suggest that we take a look at the general query log in MySQL, see if the query language putted into Power BI Desktop would get the proper result in MySQL.

Also, please enable Power BI Desktop Tracing:

File -> Options & Settings -> Options->Global->Diagnostics, check the tracing

By the way, would it be available to select the table item through the Table List?

Regards

 

 

Helpful resources

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

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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