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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.