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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

RLS with DirectQuery to a second DataSet + Show as different user

I use RLS on two different DataSets that reside in two different Workspaces.

The goal is to use the Table from Dataset 1 in DataSet 2 with the RLS from DataSet 1.

This works perfectly fine, however it is not possible to impersonate an other user to test the RLS.

When I use show as different user and enter the email adress all visuals are broken. however when I do the same with this user in Power BI Desktop no RLS filtering takes place at all.

Nevertheless when I log in to Power Bi with the test user and look at the App, the RLS applies correct.

Therefore RLs works for the user in life but I can not test because the impersonation doesnt work.

Is this a Power BI bug?

 

Greetings

1 REPLY 1
lbendlin
Super User
Super User

Sounds like a bug/incomplete feature of the composite model.  You may want to raise this in the Issues section.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.