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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Power BI Embed Report not Filtering

Hi, 

 

I implemented Row-Level Security into a customer report using below.

The EndUser being a user email.

 

 
 

PowerBIRole.PNG

The report is filtering fine when tested using the View as Roles on the Desktop App.

 

The report is then embedded on a customer website.

User then logs in passing entering their email and password, although the filtering is not working instead returning the whole unfiltered report.

The following is being passed through to the embedded report from the dashboard.

 

   embed.PNG

 

If anyone could help to check is there a step missing here?

Thanks, 

James

2 REPLIES 2
v-lid-msft
Community Support
Community Support

Hi @Anonymous ,

 

Have you tried to use a measure = USERNAME() to check if the username are passed successfully and matched? Does filter in another table work when using other roles (with constant filter)?

 

If you are embedded with a service principal, Could you please try to add the service principal entity as a viewer to your workspace? 

 

If you are using Token-based Identity, Please also consider the limilation mentioned in this document.


Best regards,

 

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi, 

 

I tested in the desktop using the view as roles and everything worked as intended. It's just when the report is embedded.

 

We're using a token based entity. We pass one of two emails to the report ie "emailOne@gc.ie" ,  "emailTwo@gc.ie". These are EndUsers we hold in a table aand not service users.

 

When passing these no matter what Username is sent we receive back the unfiltered report. 

Im a bit stuck on this one.

 

Thanks, 

James

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.