Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Analitika
Post Prodigy
Post Prodigy

Space between string concatenation in Power BI

Hello,

 

I would like to ask why it happens if space appears while concatenating two strings in power bi, making separate column in table.

Analitika_0-1652952112866.png

Here I uploaded a picture, you see a space between Komtus and $ATS.ĮPL. How to resolve this issue? Trim, clean column didn't help.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Analitika ,

You can refer the following links to "remove" the spaces in Power Query Editor by Replace Values feature...

= Table.ReplaceValue(#"Changed Type"," ","",Replacer.ReplaceText,{"Column1"})

yingyinr_0-1653299044235.png

How to remove blank spaces with Power Query

yingyinr_1-1653299141154.png

Power Query – A function to remove spaces within Text values

Best Regards

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Analitika ,

You can refer the following links to "remove" the spaces in Power Query Editor by Replace Values feature...

= Table.ReplaceValue(#"Changed Type"," ","",Replacer.ReplaceText,{"Column1"})

yingyinr_0-1653299044235.png

How to remove blank spaces with Power Query

yingyinr_1-1653299141154.png

Power Query – A function to remove spaces within Text values

Best Regards

Hariharan_R
Solution Sage
Solution Sage

Hi

What is the syntex you used? have you tried like below?

Hariharan_R_0-1652976287539.png

 

 

Thanks

Hari

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.