The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi All,
I want to show the user ID (NOT email) of the logged in person in one of my reports.
I tried using USERNAME() function. The function gives me User ID in Power BI desktop but when I publish the report in Service, this function gives me email ID of the logged in user.
Any way to show User ID of the person instead of email ID in Power BI Service?
Your help is greatly appreciated.
Thanks!
USERNAME is the local user name. In the Power BI Service, this is the same as USERPRINCIPALNAME (email) since that's what's being used "locally" in the cloud.
The service has no information on what a user's local name is outside of the service, so you'll need to include a table in your model that relates the two if you want those local names to be available for use when you publish.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
79 | |
71 | |
48 | |
39 |
User | Count |
---|---|
136 | |
108 | |
70 | |
64 | |
57 |