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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
Marco57
Helper III
Helper III

Embedded with Direct Query on Azure SQL - Visual not loading

Hello,

 

I am embedding my report using Embed for your customer. My report has a DIrectQuery connection to an Azure SQL Database.

 

I am simply publishing my report to power bi service. When I open the report in power bi service, all visuals works fine.

 

Now my issue is when I open the DIrectQuery visual from the embedded report, it gives me this error:

Marco57_0-1618817030858.png

 

I have read multiple 3-4 years old topics speaking about credentials that need to be patched using an API but this looked like at the time of collections. As I am working with recetn configuration, I clear do not know what is going on and why is it erroring while everything is fine on the power bi portal when opening the report.

From documentation, it appears that no gateway are necessary. I made sure Azure Services are allowed from the Azure SQL DB side.

 

Can anyone please shed some light here?

Thanks

Rgds

Marc.

2 ACCEPTED SOLUTIONS
Marco57
Helper III
Helper III

I solved my issue: It was due to RLS on DirectQuery tables. I had two tables and they need to be in both directional relationship to make RLS work vs single directional in import mode. In case it can help anyone.

View solution in original post

This did not solve the solution unfortunately ... It like solved it temporarly but issue came back in today ... I do not know how to set my above post as unsolved.

View solution in original post

2 REPLIES 2
Marco57
Helper III
Helper III

I solved my issue: It was due to RLS on DirectQuery tables. I had two tables and they need to be in both directional relationship to make RLS work vs single directional in import mode. In case it can help anyone.

This did not solve the solution unfortunately ... It like solved it temporarly but issue came back in today ... I do not know how to set my above post as unsolved.

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.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.