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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
kayakingaway
Frequent Visitor

RLS

Hello all!

 

I am trying to apply RLS using a field called [Approver Email]. I would like to dynamically apply the RLS without having to type each email for the respective user out. I tried a DAX function I use on Powerapps frequently but I am getting some errors. 

 

[Approver Email] = CurrentUser.Email

 

I want to be able to use the current users email ..if it is equal to approver they should be able to see the rows in which they are the listed approver. 

 

Any suggestions? Tips? Videos?

 

I appreciate the help!

1 REPLY 1
JorgePinho
Solution Sage
Solution Sage

The function you are looking for in DAX is USERPRINCIPALNAME()

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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