Forum Discussion
If null replace with next cell
I would like to bring "lookupares.BS Code" value to "BS Code" column, if the "BS Code" column value is null. Coudl you help
- Anonymous4 years ago
Hi cllkaya ,
You may add a conditional column like
Then remove the original column and rename the new column
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
3 Replies
- CNENFRNLCommunity Champion
= Table.ReplaceValue(#"preceding step", each [BS Code], each if [BS Code] is null then [lookupares.BS Code] else [BS Code], Replacer.ReplaceValue, {"BS Code"}) - cllkayaFrequent Visitor
Expression.Error: The import preceding step matches no exports. Did you miss a module reference?
I must miss a very basic thing, code gives an error message above
- AnonymousNot applicable
Hi cllkaya ,
You may add a conditional column like
Then remove the original column and rename the new column
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.