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
User | Count |
---|---|
143 | |
63 | |
60 | |
59 | |
48 |
User | Count |
---|---|
137 | |
71 | |
60 | |
56 | |
52 |