Hi all,
I'm moving some time-consuming data conversion processes into power BI, but I've hit a wall that I previously used to use multiple regex commands to handle value replacement and don't know to achieve this in powerBI
If my data set is
Red
Blue
Silver
Polished Sil
Matt Sil
I would like to change both instances of 'Sil' to be 'Silver' but NOT to include the record which is already 'Silver'
In regex I would use Sil$ and this would catch only things which ended Sil. Is there an equivalent here?
Also, while I'm here, if I have around 50 of these replacements to apply each time, is there a simple way I can maintain a separate list of replacements and ask the replace values function to work through them in order rather than me stacking up a tonne of Table.ReplaceValue queries?
thanks,
James