Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi Experts,
Sorry if the subject is misleading
I have a custom column with the following Step1:
= Table.TransformColumnTypes(#"Added Custom",{{"Postcode", type text}})
The out is basically postal address, but there are some "," which I want to replace with " " I am guessing I have to use the following function
Text.Replace(text as nullable text, old as text, new as text) as nullable text
Is this way ?
Text.Replace(#"Added Custom", ",", " ")
This is what power BI shows, when I did that separately Step2:
= Table.ReplaceValue(#"Changed Type",",","",Replacer.ReplaceText,{"Full Address"})Please can you help me to combine step1 and step2 with one step ? Is that possible?
Thank you
Solved! Go to Solution.
Hi @acerNZ
Why the need to do it as 1 step? Just curious.
Try this
= Table.ReplaceValue(Table.TransformColumnTypes(#"Added Custom",{{"Postcode", type text}}),",","",Replacer.ReplaceText,{"Full Address"})
regards
Phil
Proud to be a Super User!
Thanks a lot. Yes it did work and apologies, did not notice there was a solution next line, I realized this just now.
Hi @acerNZ
So did my code work for you?
regards
Phil
If I answered your question please mark my post as the solution.
If my answer helped solve your problem, give it a kudos by clicking on the Thumbs Up.
Proud to be a Super User!
Hi @acerNZ
Why the need to do it as 1 step? Just curious.
Try this
= Table.ReplaceValue(Table.TransformColumnTypes(#"Added Custom",{{"Postcode", type text}}),",","",Replacer.ReplaceText,{"Full Address"})
regards
Phil
Proud to be a Super User!
Thank you @PhilipTreacy It is just to concatenate to form full address as the columns were split up ( house, street, region, state, zip code, etc). I was about to to extend the logic of merging queries to a step prior with concatenation as well. Best Regards
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.