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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Snighdha
New Member

Power Bi Report not working with RLS

Hello All,

I created a Power BI Report with RLS, so that the logged in user can see only his records in the report. I tried everything from this link. After validating the role within Power BI service, the report works when i test the data as role. But when I go to the work space and click on the report link it does nor work as expected. It does not filter the recoeds based on logged in user. I tried publishing the report to a SharePoint Online page. It doesnt work there either. Please let me know where i am going wrong.

1 ACCEPTED SOLUTION
BILASolution
Solution Specialist
Solution Specialist

Hi @Snighdha

 

Try to change the workspace privacy (Edit Workspace option) to "Members can only view Power BI content".

 

Regards

BILASolution

View solution in original post

5 REPLIES 5
v-ljerr-msft
Employee
Employee

Hi @Snighdha,

 

How did you declare the rule? Could you be more precisely with it by post your table structures and the the formulas you're using?

 

In addition, here is a good article about Dynamic Row Level Security with Power BI. Could you recheck steps to see if it helps? Smiley Happy

 

Regards

BILASolution
Solution Specialist
Solution Specialist

Hi @Snighdha

 

Try to change the workspace privacy (Edit Workspace option) to "Members can only view Power BI content".

 

Regards

BILASolution

Hi @BILASolution,

Thnak you fo rthe reply. I edited worspace and changed the privacy option to "Members can only view Power BI content", but still all the records. Please see below screen shot - PBI2.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

Where as when I test as role I see correct data. Please see screen shot below - PBI1.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

@Snighdha

 

Check if users are added to the Role. Then, test the role with the user´s name.

Yes. Users are added to the role and I tested the role with different user's name and it works. PBI3.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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