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

DAX Vlookup

Hi guys,

 

I'm struggling turning this Excel formula to Dax function. So basically, I need to perform a lookupvalue based on these 2 columns. If the value is matched then return that value.

2018-09-25_16-54-05.png

 

 

 

Thanks guys

 

1 ACCEPTED SOLUTION

Hi @Stuznet,

 

try the following calculated column:

 

Column = 

lookupvalue(  Lookup[Start B]; Lookup[Finish A] ;Lookup[Start B])

 

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

4 REPLIES 4
danb
Resolver I
Resolver I

Try the LookupValue function

@danbThanks for replying, sorry I didn't elaborate my question properly. How to do I write a lookupvalue within the same table? 

Hi @Stuznet,

 

try the following calculated column:

 

Column = 

lookupvalue(  Lookup[Start B]; Lookup[Finish A] ;Lookup[Start B])

 

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 🙂

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.