I am new to Power BI so bare with me.
I got this table with user e-mails and names
I wish to create a text box that write the name of a user when the user is logged into Power BI with the corresponding e-mail.
For that purpose I am trying to create a measure that returns the name by using [E-mail] = USERPRINCIPALNAME() but I fail to get the measure working.
Anyone who can help me out here?
Go to Solution.
@Christianvs it should be:
User Name Based on UPN =
MAX ( Table[Name] ),
Table[Email] = USERPRINCIPALNAME ()
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make effort to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡ Visit us at https://perytus.com, your one-stop shop for Power BI-related projects/training/consultancy.
Proud to be a Super User! Appreciate your Kudos 🙂 Feel free to email me with any of your BI needs.
View solution in original post
Thanks parry! I needed the CALCULATE 🙂
Click here to read more about the November 2022 updates!
Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.