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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi All,
I need User Name only not compnay user account
example:My name is Aruna.don ( i am expecting this)
i am created measure USERPRINCIPALNAME() --its given total employ account(aruna.don@xxxxx.com
USERNAME()--its display my employee id
But i need only aruna.don
Thanks
Aruna
Solved! Go to Solution.
Hello Aruna,
Looking at @MFelix Formula:
Name = LEFT(USERPRINCIPALNAME(),SEARCH("@",USERPRINCIPALNAME(),1, LEN(USERPRINCIPALNAME()))-1)
Try this.
Hello Aruna,
Looking at @MFelix Formula:
Name = LEFT(USERPRINCIPALNAME(),SEARCH("@",USERPRINCIPALNAME(),1, LEN(USERPRINCIPALNAME()))-1)
Try this.