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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

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.



Follow on LinkedIn
@ 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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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