Forum Discussion
somwanshi
6 years agoFrequent Visitor
Username() function not working
Hi Everyone, Im trying to filter my visual with current logged in user (with out applying row level security) but it is not working. I have used following dax query for my measure. New_Total A...
- 6 years ago
Hi somwanshi ,
As the Online Document, The username() function will return the format as domain\user locally, if you always want to get UPN email address format, you can use the USERPRINCIPALNAME() function.
Community Support Team _ DongLi
If this post helps, then please consider Accept it as the solution to help the other members find it more
v-lid-msft
6 years agoCommunity Support
Hi somwanshi ,
As the Online Document, The username() function will return the format as domain\user locally, if you always want to get UPN email address format, you can use the USERPRINCIPALNAME() function.
Community Support Team _ DongLi
If this post helps, then please consider Accept it as the solution to help the other members find it more