Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello all, good morning.
Would anyone know how to use Table.replacevalues but start counting from left to right?
I have some data as below and would like to change the letter from the third position, left to right.
Data | Desired Result |
LE-20 | LE*20 |
HIMAN&20 | HIMAN*20 |
DISTAT%10 | DISTAT*20 |
LUGGAGE@TO | LUGGAGE*20 |
Thank you and best regards,
Solved! Go to Solution.
Hi @Anonymous ,
You can use Table.TransformColumns
Code:
Table.TransformColumns(PreviousStep, {{"Solution", each Text.Start(_,Text.Length(_)-3)&"*20", type text}})
Regards
KT
NewStep=Table.TransformColumns(PreviousStepName,{"Data",each Text.ReplaceRange(_,Text.Length(_)-3,3,"*20")})
Hi @Anonymous ,
You can use Table.TransformColumns
Code:
Table.TransformColumns(PreviousStep, {{"Solution", each Text.Start(_,Text.Length(_)-3)&"*20", type text}})
Regards
KT