Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
jdmbkj
Regular Visitor

Power BI authorization

Hi All.

I need to make a little authorization process in Power BI.

 

When I am using USERNAME() it is giving me my e-mail. But instead of this I need to have an "Alias". 

 

When I am clicking on up right corner of the screen on powerbi.com, I have "View Account". Then I go into "Personal info" and I've got there "Contact details". Below are "Email" and "Alias". Is there a chance to have this Alias instead of Email?

2 REPLIES 2
Tahreem24
Super User
Super User

@jdmbkj  There are as of now two functions (USERNAME and USERNAMEPRINCIPAL) to track the login person info.

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

Thanks, but both functions returns me my email. That is the same result using USERNAME and USERNAMEPRINCIPAL. Is there a chance to do something with that?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.