Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello Community,
I am trying to implement proxy users for RLS. If proxy user has logged into power bi, he has to see the assigned user data. 'RLS Proxy ' table I am trying to do this by DAX. I tried with IF, Contains and several other functions.
I can't see expected result.
Can anyone guide me how i can achieve this by using below sample data. RLS Proxy table
| UPN | Proxy UPN |
| gfb7c@Domain.com | ach3q@Domain.com |
| twd2e@Domain.com | cv2qm@Domain.com |
| bea4k@Domain.com | ac7xa@Domain.com |
| drb7c@Domain.com | abcg6@Domain.com |
Expected result: IF(USERPRINCIPALNAME() = CONTAINS('RLS Proxy','RLS Proxy'[Proxy UPN])),
Then--> Get UPN value assigned,
Else--> USERPRINCIPALNAME())
Thanks
VCK
Checking UPN is existing aren't in RLS proxy table. If logged in UPN is listed in RLS proxy table, then get assigned UPN.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 35 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 134 | |
| 96 | |
| 78 | |
| 67 | |
| 65 |