Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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 November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors