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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
AmstutzG1
Frequent Visitor

Direct Query JSON not properly formatted error

I am attempting to connect to a table in SQL. Using Import mode, the connection is fine and I am able to use the data in the report. However, when attempting to use Direct Query (restarting and creating a fresh data source using Direct Query), I get an error in my visuals that use that table:

AmstutzG1_0-1720729495909.png

This happens when I just attempt to create a blank table visual and pull in one of the columns. The data source does not include any JSON data from what I can tell, so I don't understand where the JSON part of the error could be coming from. I am also confused as to why direct query would not work when import does.

 

Any help would be appreciated. 

2 REPLIES 2
Anonymous
Not applicable

Hi @AmstutzG1 ,

After testing, I did not reproduce a similar situation. Since your data source is SQL, I would suggest that you go back to SQL Server Management Studio and open up the SQL Server profiler and reproduce your issue to see if you can catch any error messages.

vjunyantmsft_0-1720752408140.png


Best Regards,
Dino Tao

The error does not produce in SQL Server, it seems very specific to Power BI. After some more testing in Power BI, it seems very "buggy" in nature and produces an error sometimes but not others. Haven't been able to track down exactly what causes it in Power BI.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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