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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Good afternoon Dear Mr.(a),
am using the DAX function USERNAME() to show the user name loged in windows.
I am using the following measurement:
Fulfillment =
VAR Hour = HOUR(NOW())
VAR Greeting =
SWITCH(TRUE(),
Time >= 5 && Time < 12, "Good morning",
Time >= 12 && Time < 18, "Good afternoon",
Time >= 18 && Time < 24, "Good evening",
Time >= 0 && Time < 5, "Good morning",
"Hello")
However, after the report was published instead of the windowns user name my email from the power bi service appears. i tried to switch to the USERPRINCIPALNAME() function but i got the same result.
On any machine that I open the published report, my e-mail from the power bi service appears.
how to solve it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.