Forum Discussion
If then else old value
Hi,
So I want to transform data in one column in the following way but cannot find a solution.
In the cells, I want to erase part of the content in the cells. A lot of cells start with "Worked by" but following but a different name and I want to erase the names.
I thought about something like if (contains ([columnname], ""Worked"); "Worked"; show old value) but I don't know to not apply modification if the cell doen't start with worked by
Hi STs2207,
Is this the same question with your another post: https://community.powerbi.com/t5/Desktop/If-then-else-old-value/m-p/400494#M182961?
Best Regards,
Dale
3 Replies
- vanessafvg
Community Champion
STs2207 where are you doing this power query or dax?
not 100 % sure what you saying, maybe you can demonstrate with some examples
- v-jiascu-msft
Microsoft Employee
Hi STs2207,
Is this the same question with your another post: https://community.powerbi.com/t5/Desktop/If-then-else-old-value/m-p/400494#M182961?
Best Regards,
Dale
- STs2207Frequent Visitor
Hi v-jiascu-msft,
Thank you for ntoticing it! Yes it is the same question. I thought the first I posted it didn't work out so did it again