Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

How to apply IFNA and VLOOKUP in Power BI

I have two tables - Table A and Table B. Table A contains SKU and Item Number. Table B contains SKU, Item Number and Weight.

I want to lookup the weight from Table B in Table A based on SKU column, if the same sku is not present in Table B then the lookup should be based on item number.

Here is the formula which I use in excel : IFNA(VLOOKUP(B3,$G$2:$I$5,3,0),VLOOKUP(C3,$H$2:$I$5,2,0))



Helper III
Helper III

Hello you need LOOKUPVALUE and use in this way

LOOKUPVALUE( <result_columnName>,
[, <search2_columnName>, <search2_value>]…
[, <alternateResult>] )

Hi @1Daniel993 ,

On using the formula you suggested, I'm getting below error -




Helpful resources

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors