Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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.