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
cristianml
Post Prodigy
Post Prodigy

IF CONCATENATE EQUAL TO THEN

Hi,

 

I need a function that the logic is the following:  If concantenate is equal to comlumn1 & column2 then lookupvalue .. how can I build this in Dax ?

 

Thanks,

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @cristianml 

You need something like the following:

 
Column = IF("VALUE"  = CONCATENATE(Table1[Column1],Table1[Column2]), 
LOOKUPVALUE(Table2[Column3],Table1[Column1],Table2[Column2]),"DEFAULT_VALUE")

Ta!

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @cristianml 

You need something like the following:

 
Column = IF("VALUE"  = CONCATENATE(Table1[Column1],Table1[Column2]), 
LOOKUPVALUE(Table2[Column3],Table1[Column1],Table2[Column2]),"DEFAULT_VALUE")

Ta!

 

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.