Hey,
I’m struggling with one, probably simple thing, but I tried so many functions and none of them worked, so I assuming that something is not okay with my way of building functions,
I have a collection as attached, what I want to achieve is replace column Status with text value according to the rule.
If ‘status’ = 0 then replace value 0 with Cat
If ‘status’ = 1 then replace value 1 with House
If ‘status’ = 2 then replace value 2 with Car
If ‘status’ = 3 then replace value 3 with Dog
If ‘status’ = 4 then replace value 4 with Glass
so it can be done within the same column, but I don’t know if it’s possible if currently the column is of data type number, but also it can be done with totally new added column, it doesn’t matter so much. Any ideas??
thanks!
