March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi, I have two tables in Power BI, table 1 is a reference table that shows document type and the document type description, while table 2 is a list of transactions, which only shows the document type. How can i create a column in table 2 and do something like 'vlookup' the document type in table 1 and show toe document type description in table 2? Please help.
Solved! Go to Solution.
Hi,
You have to create a calculated column.
Use the function LOOKUP:
The syntax is easy.
LOOKUPVALUE(
<result_columnName>,
<search_columnName>,
<search_value>,
<alternateResult>] )
✅ Consider to mark this question as solved
My LinkedIn profile: Abdoul Karim Niang | LinkedIn
Hi,
You have to create a calculated column.
Use the function LOOKUP:
The syntax is easy.
LOOKUPVALUE(
<result_columnName>,
<search_columnName>,
<search_value>,
<alternateResult>] )
✅ Consider to mark this question as solved
My LinkedIn profile: Abdoul Karim Niang | LinkedIn
It works. Thanks!
you can try merge tables in pq
Tutorial: Shape and combine data in Power BI Desktop - Power BI | Microsoft Learn
or you can use lookupvalue or related
RELATED function (DAX) - DAX | Microsoft Learn
LOOKUPVALUE function (DAX) - DAX | Microsoft Learn
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
85 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
157 | |
97 | |
79 | |
69 |