Forum Discussion
nimblecat
3 years agoFrequent Visitor
Power Query M: IF with VLOOKUP
I need a Power Query M formula version for creating a "column D" that does a VLOOKUP from TableB on colA but if it doesn't exist, then just pull col C from the original TableA. TableA and TableB ...
- 3 years ago
Hi nimblecat.
Is this the kind of thing you're looking for?
wdx223_Daniel
3 years agoCommunity Champion
=Table.AddColumn(TableA,"col D",each TableB{[#"col A"=[col A]]}?[col B]? ??[col C])
the values must be unique in col A of TableB .