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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Row Level Security

Hey! I had created Row Level Security in the power BI Desktop as : [Email] = username().

 

I had done this so that RLS is applied dynamically. I am a little confues with what the following sentence means.

RLS Doubt.PNG

It says that when I publish it, it iwll be used within the Power BI Service. Does that mean I do not have to add any members unser Dataset -> Security -> Add members column in the Power BI Service?

 

RLs Doubt 2.PNG

 

Thank you in advance!

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @Anonymous

It is necessary to add any members under Dataset -> Security -> Add members column in the Power BI Service when you use "usename( )" or "userprincipalname( )" in power bi desktop.

It is a little misunderstanding for you about "usename( )" or "userprincipalname( )" in RLS.

I would suggest reading the blog, which just gives some explanations around when and how deploying it to the Power BI Service.

http://radacad.com/dynamic-row-level-security-with-power-bi-made-simple

 

Best Regards

Maggie

 

View solution in original post

1 REPLY 1
v-juanli-msft
Community Support
Community Support

Hi @Anonymous

It is necessary to add any members under Dataset -> Security -> Add members column in the Power BI Service when you use "usename( )" or "userprincipalname( )" in power bi desktop.

It is a little misunderstanding for you about "usename( )" or "userprincipalname( )" in RLS.

I would suggest reading the blog, which just gives some explanations around when and how deploying it to the Power BI Service.

http://radacad.com/dynamic-row-level-security-with-power-bi-made-simple

 

Best Regards

Maggie

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.