This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
The file I am working with has data from one table with an ID number (ctp), then on another data set I have the same ID numbers (ID) with their location names(name). What I'm trying to do is have the locations be put on the original table next to their correlating ID numbers. I'm not sure how to get this to work in the power bi tables. I've tried dax expressions but haven't found and success. Feedback would be greatly appreciated.
This table has the dealID that I am trying get the location names for.
This is the original table
This table has the (ID) numbers that correlate with the (ctp) numbers from the previous table, and I want to create a function that returns the names on the previous table.
This is the table that converts the ctp number to the location
Solved! Go to Solution.
Have you tried creating a calculated column using the LOOKUPVALUE function?
Location =LOOKUPVALUE(table2[address],table2[ID],table1[ctp])
Have you tried creating a calculated column using the LOOKUPVALUE function?
Location =LOOKUPVALUE(table2[address],table2[ID],table1[ctp])
Worked Thanks!
@oberkery Great! If you could mark my response as the solution, I'd appreciate it.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 32 | |
| 31 | |
| 21 | |
| 15 |
| User | Count |
|---|---|
| 66 | |
| 56 | |
| 31 | |
| 27 | |
| 22 |