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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors