The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi,
I need some help with the Table.ReplaceValue function.
In my column need to replace two different values with the same string. So "]" and "[" need to be replaced with "|".
I want to avoid two separate Replace functions but was unable to find a handy solution for this.
Do you have any tips?
Thanky in advance
Solved! Go to Solution.
maybe you can try this
= List.Accumulate({{"[","|"},{"]","|"}},Source,(x,y)=>Table.ReplaceValue(x,y{0},y{1},Text.Replace,{"Column1"}))
Proud to be a Super User!
maybe you can try this
= List.Accumulate({{"[","|"},{"]","|"}},Source,(x,y)=>Table.ReplaceValue(x,y{0},y{1},Text.Replace,{"Column1"}))
Proud to be a Super User!