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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
abfdjuk
Helper I
Helper I

create a lookup with two search values

I want to create a vlookup style expression where I am trying to do the following:

 

If column A (supplier) and column B (project) in table 1 match data in columns A (supplier) and B (project) in table 2 then show data in column C.

 

I've tried lookups and this doesn't seem to work. Is there an easy solution that I am missing?

 

Thanks

 

Dan

2 REPLIES 2
AndrewPF
Helper V
Helper V

Concatenate your data in both tables, then merge based on the new variables. 

Use the text trim functions to ensure you eradicate leading and trailing spaces. 

bsheffer
Continued Contributor
Continued Contributor

can your provide a visual mockup of what you want to do? if it is all in one visual you can create a measure using a if statement to return a value if matching occurs or blank if they don't match

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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