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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi All
I have a field = SOURCE , The value label have TI , TS
I like to replace TI with TT and TS with SS
My PBI file :-
Paul
Solved! Go to Solution.
Hi @admin11 ,
Here are the steps you can follow:
1. Create calculated column.
Column =
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE('Table'[Column1],"TA","A"),
"TP","B"),
"TI","C"),
"TS","D")
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @admin11 ,
Here are the steps you can follow:
1. Create calculated column.
Column =
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE('Table'[Column1],"TA","A"),
"TP","B"),
"TI","C"),
"TS","D")
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous
Thank you very much for your help , it work fine now. apprecaite very much.
Paul Yeo
Hi @admin11 ,
Here are the steps you can follow:
1. Create calculated column.
Column 2 =
SUBSTITUTE(
SUBSTITUTE(
'Table'[Column],"TI","TT"),
"TS","SS")
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous
Thank you very much for your support , your code work fine , but when i need add 2 more , again i get error , hope you can advise me how to work around .
Hi @admin11 ,
Here are the steps you can follow:
1. Create calculated column.
Column = SUBSTITUTE('Table'[SOURCE],"TI","TT")
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous
Thank you very uch for your help , your code is working fine.
I also want to repalce TS with SS.
Go to power query editor and use Replace Values button from transform
@Anonymous
That field is not availabel at PQ.
Paul
I can see it ina acreenshot sent by you.
Look at the yellow highlighter.
@admin11 , in DAX you can use substitute
https://www.youtube.com/watch?v=y5HvChhMWbQ
substitute ([Column], "TI", "TT")
Thank you very much for your help , i get error :-
By the way i have TS want to change to SS
and TI change TT.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 58 | |
| 53 | |
| 43 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 122 | |
| 108 | |
| 44 | |
| 32 | |
| 24 |