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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
mcarter
Regular Visitor

Embedded visuals stop loading (DirectQuery)

This used to work fine but recently when we came to use it it's no longer working we just get the message

"Couldn't retrieve the data for this visual"

 

We created the app from the sample in GitHub. I've tried updating all the nugets to the latest version.

 

If I delete and re-upload the .pbix it will show all the visuals just once, if i reload the page or try filtering i get the error again. It seems to start working again briefly if I leave it a while but again reloading the page or filtering it errors..

 

Tried changing the pbix to Import data rather than DirectQuery and it works fine. Also tried creating a very basic report and the same happens. So seems to be related to DirectQuery. We're using an Azure DB with an elastic pool.

 

Any ideas??

 

 

1 ACCEPTED SOLUTION
mcarter
Regular Visitor

Update

 

Found the issue. After updating the desktop app to the version released the other day this now displays the same error as the embedded reports, however it actually gives more info. 

 

Basically caused by database columns being of type "text". Changing them to type nvarchar has resolved the issue.

 

Pretty poor that the embedded report gives so little info as to what the issue is and also that it's only the very recent version of the desktop app that displayed the same issue, the previous desktop app versions all displayed the report correctly...

View solution in original post

1 REPLY 1
mcarter
Regular Visitor

Update

 

Found the issue. After updating the desktop app to the version released the other day this now displays the same error as the embedded reports, however it actually gives more info. 

 

Basically caused by database columns being of type "text". Changing them to type nvarchar has resolved the issue.

 

Pretty poor that the embedded report gives so little info as to what the issue is and also that it's only the very recent version of the desktop app that displayed the same issue, the previous desktop app versions all displayed the report correctly...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.