Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Solved! Go to Solution.
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
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
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 30 | |
| 28 | |
| 23 | |
| 21 | |
| 19 |
| User | Count |
|---|---|
| 44 | |
| 31 | |
| 18 | |
| 18 | |
| 16 |