Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |