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
DCrowther
Helper I
Helper I

LOOKUPVALUE Function with additional matching IF Statments

Hi

 

Can anyone help with creating a LOOKUPVALUE Function that can include a matching IF statement with two or more matching criteria from other columns

 

Regards

Dan

3 REPLIES 3
v-xuding-msft
Community Support
Community Support

Hi @DCrowther ,

Could you tell me if your problem has been solved? If it is, kindly mark the helpful answer as a solution if you feel that makes sense. Welcome to share your own solution. More people will benefit from here.

 

Best Regards,

Xue

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
PattemManohar
Community Champion
Community Champion

@DCrowther Please post some sample test data and expected output, which will be helpful to provide/suggest an accurate solution.




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

Proud to be a PBI Community Champion




v-xuding-msft
Community Support
Community Support

Hi @DCrowther ,

 

I create a sample you can reference to modify your own formula. And there are two  documents about the function of LOOKUPVALU and IF. If your formula still doesn’t work,  please post the sample data and the expected output.

Measure =
VAR a =
    LOOKUPVALUE ( Table2[Avg], Table2[Product Name], SELECTEDVALUE(Table1[Product] ))
RETURN
    IF ( NOT ISBLANK ( a ), a, 0 )

4.jpg

Best Regards,

Xue Ding

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.