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
huguo_90
Regular Visitor

PRLS with lookupvalue on 2 tables different

I have a table A I have a dimension table A containing the names and emails of managers and teams, I have a table made B with all the appropriate calculations. The problem is that when I implement the RLS, it finds all the team data, not the manager's data, but now I can't add the manager to the final data. Here is the code I used but it's not good.

IF (

    ISFILTERED ( 'A'[NAMES_TEAM] ),

    'A'[NAMES_TEAM] = USERNAME() || 'A'[MAIL] = USERPRINCIPALNAME(),

    'A'[MAIL] = USERPRINCIPALNAME() && 'B'[TEAM] = LOOKUPVALUE('A'[TEAM],'B'[MAIL],USERPRINCIPALNAME())

)

2 REPLIES 2
huguo_90
Regular Visitor

Hello @Mahesh0016 , Thanks to answer me, When I make a filter on the size table I only see the people of the Pierre team but I do not see see Pierre so in the dashbord I do not see his income, I would like to see the revenues of Pierre and his are teams, I try by putting a double relationship on it but it does not work. Hope you manage to understand my drawing.

 

huguo_90_1-1683739092384.png

 

Mahesh0016
Super User
Super User

@huguo_90 Please Share your Expected Output in Table.
THANK YOU!!

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
Top Kudoed Authors