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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.