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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Stuznet
Helper V
Helper V

Vlookup from Another Table Return Value from Column

Please help, I'm currently struggling getting the same result from Excel in to Power BI. So basically I need to do a vlookup from table 1 and table 2 and returned result from Table 2 Column E and F. 

 

Capture1.PNG

CTR Column 

 

=VLOOKUP(S2,'Table 2'!$C$2:$F$57310,3,FALSE)

 

3 is where the result returned from Table 2 Column E

 

CTR Status

 

=VLOOKUP(S2,'Table 2'!$C$2:$F$57310,4,FALSE)

4 is where the result returned from Table 2 Column F

 

 Capture2.PNG

 

 

I've tried this vlookup formula but it doesn't seems to be working or not the result I wanted.

 

Can someone please help? 

 

Thank you

 

 

 

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi   @Stuznet,

 

In DAX you should use the LOOKUPVALUE formula (see documentation here😞

 

LOOKUPVALUE( Table2[CTR_Num, Table2[VI_Key], Table1[VI_Key])  

Regards,

MFelix


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

2 REPLIES 2
MFelix
Super User
Super User

Hi   @Stuznet,

 

In DAX you should use the LOOKUPVALUE formula (see documentation here😞

 

LOOKUPVALUE( Table2[CTR_Num, Table2[VI_Key], Table1[VI_Key])  

Regards,

MFelix


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Thank you so much, it worked. 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.