Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
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))
Hello you need LOOKUPVALUE and use in this way
LOOKUPVALUE( <result_columnName>,
<search_columnName>,
<search_value>
[, <search2_columnName>, <search2_value>]…
[, <alternateResult>] )
https://learn.microsoft.com/en-us/dax/lookupvalue-function-dax
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.