Forum Discussion
Anonymous
5 years agoNot applicable
Replace null values in duplicates
If I have a sorted table like below: Fruit Colour Apple null Apple Red Banana Yellow Pear null How can I replace the null value in "Colour" with the correct value base...
- 5 years ago
= Table.Combine(Table.Group(#"Sorted Rows","Fruit",{"n",each Table.ReplaceValue(_,null,List.Last([Colour]),Replacer.ReplaceValue,{"Colour"})},0)[n])
wdx223_Daniel
5 years agoCommunity Champion
= Table.Combine(Table.Group(#"Sorted Rows","Fruit",{"n",each Table.ReplaceValue(_,null,List.Last([Colour]),Replacer.ReplaceValue,{"Colour"})},0)[n])