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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
George963852395
New Member

Dynamic ROW level security

Hi All,

 

I have 8 tables that all have relationships (single) to a table like this

EmployeeName (FirstName LastName)DefaultSales_SalesLineName1DefaultSales_PhysicalOfficeName1EmailJob TitleRank
John SmithAPAUMidlajohn.smith@xyz.co.ukArea Sales Manager5
Jenny johnsonSENSSouthjenny.johnson@xyz.co.ukTeam leader4

 

If someone views the dashboard I need to cross reference there email to this where they can only see data from there office, there division and only job titles that are below there number, example, Area sales manager (5) would see Team leader data (4) and thats it.

My current DAX formula for role is:

'Sales Name'[Email]= USERPRINCIPALNAME() &&
'Sales Name'[Job Title] IN VALUES('Sales Name'[Rank]) &&
'Sales Name'[Office] = SELECTEDVALUE('Sales Name'[Office]) &&
'Sales Name'[Division] = SELECTEDVALUE('Sales Name'[Division])
 
Currently no data will display for anyone. I feel like im doing this all very wrong but I am very new to this. Any help much appreciated.
 
 

 

2 REPLIES 2
SaiTejaTalasila
Super User
Super User
George963852395
New Member

For reference here are my relationships

George963852395_0-1716221789596.png

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors