Forum Discussion
STs2207
8 years agoFrequent Visitor
If then else old value
Hi, I would like to transform the data in one column as follows but cannot find a way to do it. I want to find the cells that start with abc and replace the content of the cell with abc, otherwis...
- 8 years ago
Hi STs2207,
You can use this formula in Query Editor for power Query or use the LEFT function in DAX :
if Text.Contains([Column2], "abc") then "abc" else [Column2])
Hope it helps...
Ninter
Interkoubess
8 years agoSolution Sage
Hi STs2207,
You can use this formula in Query Editor for power Query or use the LEFT function in DAX :
if Text.Contains([Column2], "abc") then "abc" else [Column2])
Hope it helps...
Ninter
STs2207
8 years agoFrequent Visitor
Thank you very much Interkoubess