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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
piyush
Frequent Visitor

Power BI embedded, RLS

Hi,

 

We are working on embedding a sample Power BI report with Row Level Security enabled in an external Web application. The report shows data according to the user when tested in the Power BI portal, but the embedded report does not show any data.

 

The visuals show an error message that the "data cannot be loaded for this visual". Can someone please help us in resolving this?

 

4 REPLIES 4
rsb_powerbi
Frequent Visitor

Has anyone found a solution yet?

I have the same issue.

The report will work perfectly in desktop/ on the portal.

But as soon as it is embedded it fails to display the data

The embedded sample works fine without RLS, but fails with it.

Eric_Zhang
Microsoft Employee
Microsoft Employee

@piyush

 

Based on my test, it works fine, see the different lines.

 

Capture.PNG

 

I didn't get that data not load error, may I know how do you embed the report?

Thanks for the reply, Eric.

I am using the Microsoft sample solution available on GitHub to embed the reports, which is updted as per the new APIs released. I am passing the Workspace ID, Workspace name, Report ID, Username and Role to generate token.

 

As per the Row Level Security with Power BI Embedded document, report will be filtered as per the username and role, but in my case, the visual does not load the data.

 

Thanks in advance for the help.

Hello,

Same case here, I'm facing the same error as piyush, and I used the same sample solution.

It's been 2 days and I didn't found anything...

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.