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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.