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
kayakingaway
Frequent Visitor

RLS using an Approver Email Column

Hello All! 

 

I have used RLS at a very base level but I am trying to do a step up. 

 

I have a column within my table called "Approver Email", I would like to apply the RLS so the current user could only see the data in which they are the "Approver Email". I don't want to have to enter each person and their respective email. 

 

I tried the following..I have a very similar "Filter" on a Power App that works swimmingly, but getting some errors here. 

 

 

[Approver Email] = User().Email

 

Any suggestions? Tips? Helpful videos? 

 

I appreciate the help!!

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @kayakingaway 

 

What you want is the dynamic RLS in Power BI. You can use userprincipalname(), which always returns the user in the format of their user principal name, username@contoso.com.

 

[Approver Email] = userprincipalname()

 

Here are some blogs for your reference:

How to Setup Static and Dynamic Row Level Security (RLS) in Power BI?

Dynamic Row Level Security in Power BI (pragmaticworks.com)

Dynamic Row Level Security with Power BI Made Simple - RADACAD

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

1 REPLY 1
v-jingzhang
Community Support
Community Support

Hi @kayakingaway 

 

What you want is the dynamic RLS in Power BI. You can use userprincipalname(), which always returns the user in the format of their user principal name, username@contoso.com.

 

[Approver Email] = userprincipalname()

 

Here are some blogs for your reference:

How to Setup Static and Dynamic Row Level Security (RLS) in Power BI?

Dynamic Row Level Security in Power BI (pragmaticworks.com)

Dynamic Row Level Security with Power BI Made Simple - RADACAD

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

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.