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
AndyR123
Helper I
Helper I

Check RLS in Power BI Service

Hi,

 

is it possible to see the logic of RLS direcly in Power BI Service.

I added the RLS via Desktop file (.pbix) and upload it. But i am able to see the restriction of a role (for example COUNTRY = 'US')

in Power BI Service or only in the desktop file?

 

Thanks a lot

Andy

1 ACCEPTED SOLUTION
v-yingjl
Community Support
Community Support

Hi @AndyR123 ,

Row-Level-Security is defined in power bi desktop, you can create roles and define its expression. After publishing this report to power bi service, you can jsut test the roles instead of editing the definition fo roles.

RLS1.pngRLS2.png

For more information abou RLS, you can refer the Microsoft document that hope to help you too:

https://docs.microsoft.com/en-us/power-bi/service-admin-rls

 

Best Regards,
Yingjie Li

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-yingjl
Community Support
Community Support

Hi @AndyR123 ,

Row-Level-Security is defined in power bi desktop, you can create roles and define its expression. After publishing this report to power bi service, you can jsut test the roles instead of editing the definition fo roles.

RLS1.pngRLS2.png

For more information abou RLS, you can refer the Microsoft document that hope to help you too:

https://docs.microsoft.com/en-us/power-bi/service-admin-rls

 

Best Regards,
Yingjie Li

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

Hi,

 

thank you very much. So it is only possible to see the restrictions ni Power BI desktop.

Thank you very much!

Andy

GilbertQ
Super User
Super User

Hi there

 

In order to test the role, you can do the following.

 

Go to the Dataset then click on the three dots ... and select Security

image.png

 

Then on the right hand side next to the Role name click on three dots again ... and select Test as role

image.png

 

This will then show you the Power BI Report as a member of the role so you can see if it works as expected.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Greg_Deckler
Super User
Super User

You can test as a role in the service but I do not believe it shows you the underlying calculation.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.

Top Solution Authors
Top Kudoed Authors