Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

How can i refer the data in table 1 to table 2

table 1table 1table 2table 2Hi, 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. 

1 ACCEPTED SOLUTION
AKNiang
Frequent Visitor

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

 

View solution in original post

3 REPLIES 3
AKNiang
Frequent Visitor

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

 

Anonymous
Not applicable

It works. Thanks!

ryan_mayu
Super User
Super User

@Anonymous 

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





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors