Forum Discussion
DominiqueGire
10 years agoNew Member
UserName() DAX function returns a GUID on PowerBI
When you use UserName() in a DAX function in PowerBI Desktop that works fine and shows something like "AzureAD\FirstnameLastname" if I use that function in a calculated measure to be displayed. Wh...
Johnny
10 years agoAdvocate II
The problem is "solved" after RLS has been implemented.
Once you "turn on" RLS the username function now returns your email-address (sign in address)
- Brian_M10 years agoContinued Contributor
Johnny, could you post an example of how to use the username() in the RLS?
- Anonymous10 years agoNot applicable
Hi Johnny,
Could you please put some example how you did that?
Appreciate your help!
Regards,
Niket Talati