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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Anonymous
Not applicable

Remove space

Hi All,

 

Need your help.

 

i have query looking like below. my problem is there is a space in second row, SS

in excel, i do select the column and ctrl+F , replace > find what :  'space' > Replace with : put nothing.

 

do you know how to remove the space in PBI?

Q2.PNG

 

thank you,

CL

1 ACCEPTED SOLUTION
Fowmy
Super User
Super User

@Anonymous 

You can right-click on the column, select TRIM then CLEAN.

You can share your data file as a sample.


____________________________________
How to paste sample data with your question?
How to get your questions answered quickly?

_____________________________________
Did I answer your question? Mark this post as a solution, this will help others!.

Click on the Thumbs-Up icon on the right if you like this reply 🙂

YouTube, LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

3 REPLIES 3
Fowmy
Super User
Super User

@Anonymous 

You can right-click on the column, select TRIM then CLEAN.

You can share your data file as a sample.


____________________________________
How to paste sample data with your question?
How to get your questions answered quickly?

_____________________________________
Did I answer your question? Mark this post as a solution, this will help others!.

Click on the Thumbs-Up icon on the right if you like this reply 🙂

YouTube, LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

amitchandak
Super User
Super User

@Anonymous , right click on the column in edit query mode you have a replace option. Work the same way as excel

refer

https://yodalearning.com/tutorials/learn-how-replace-values-power-query/

or add a step

https://docs.microsoft.com/en-us/powerquery-m/text-replace

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak  thanks for your info..

maybe it's not a space.. it doesn't work in power query..

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.