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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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 AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors