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
Hi all,
is there a function, like userprincipalname(), to get role/profile of user, to implement RLS a role level and not user level?
Thank you in advance,
Sandro
Hi @sangi1981
There is no DAX function that gives any further information about the current user.
I would suggest using the Active Directory connector to import a table containing additional user attributes, and use that to help define RLS rules.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 19 | |
| 10 | |
| 8 | |
| 7 | |
| 7 |