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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Anonymous
Not applicable

Report connected to Power BI Dataset with RLS not working

I have a dataset with RLS configured on it and was published to power BI services.

Now, I created a report report based on this dataset (Power BI dataset) and I want the RLS to be applied to the report but it is not working. RLS works at the dataset level but when I created another report connecting to the RLS dataset it doesn't work.

 

Please, how can I fix the report to use the dataset RLS

1 ACCEPTED SOLUTION
m_alireza
Solution Specialist
Solution Specialist

@Anonymous What role do you/your users have on the Workspace? Only users with "Viewer" role in the workspace will have the RLS applied to them. RLS does not apply to users with AdminMember, or Contributor roles as they have edit permission for the dataset so RLS doesn’t apply.

Refer here:
https://docs.microsoft.com/en-us/power-bi/enterprise/service-admin-rls#using-rls-with-workspaces-in-power-bi

View solution in original post

3 REPLIES 3
m_alireza
Solution Specialist
Solution Specialist

@Anonymous What role do you/your users have on the Workspace? Only users with "Viewer" role in the workspace will have the RLS applied to them. RLS does not apply to users with AdminMember, or Contributor roles as they have edit permission for the dataset so RLS doesn’t apply.

Refer here:
https://docs.microsoft.com/en-us/power-bi/enterprise/service-admin-rls#using-rls-with-workspaces-in-power-bi

amitchandak
Super User
Super User

@Anonymous , Have assigned roles to the user on the power bi service? on Three dots of the dataset under workspace and then use security option

Anonymous
Not applicable

@amitchandak  - yes I created the role in power bi desktop based userprincipalname()

timEalll_0-1662743491598.png

then i published it to power bi services and assigned role in the power bi service

timEalll_1-1662743677732.png

Testing it on the dataset it works fine but when i report report based on the dataset as a datasource and published it doesn't implement the RLS in report

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.