cancel
Showing results for
Did you mean:

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
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.
Community Champion
@DCrowther Please post some sample test data and expected output, which will be helpful to provide/suggest an accurate solution.

Proud to be a PBI Community Champion

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 )```

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.

Announcements

#### Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.