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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
consider the following table
ID Name ManagerID ManagerName(column to be created)
1 X 102 Y
102 Y 201
I need to create a new column "Manager Name", where it searches the table for ID corresponding to Manager ID and prints out the Name from the searched row .
new to PBI..need a DAX function for this
Solved! Go to Solution.
Manager Name =
var nameValue= LOOKUPVALUE(Role[Name],Role[ID],Role[Manager ID])
return nameValue
Table Name: Role
Output
If this is working for you, please mark this answer as a solution.
Regards,
Nandu Krishna
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 13 | |
| 10 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 31 | |
| 28 | |
| 19 | |
| 11 | |
| 10 |