Answer on How to replace full column with the last value?