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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
Centaur
Helper V
Helper V

Remove trailing spaces

Hello, 

 

How could I remove the trailing spaces in my table field named Vendor?  

I can filter for vendors with a space at the end but I dont know how I can remove the space at the end.  

I am not sure what else woudl need to be know but feel free to reach out.  

I know I can use trim in excel but I want to use power query to do this. 

I am a novice user. 

 

thank you

1 ACCEPTED SOLUTION
serpiva64
Solution Sage
Solution Sage

Hi,

here you find the command you need (trim)

serpiva64_0-1644679272520.png

provide a sample data if you need something else

 

If this post is useful to help you to solve your issue consider giving the post a thumbs up 👍 and accepting it as a solution !

 

View solution in original post

3 REPLIES 3
Centaur
Helper V
Helper V

that was perfect!  thank you very much!

serpiva64
Solution Sage
Solution Sage

Hi,

here you find the command you need (trim)

serpiva64_0-1644679272520.png

provide a sample data if you need something else

 

If this post is useful to help you to solve your issue consider giving the post a thumbs up 👍 and accepting it as a solution !

 

Thank you for the screen shot, this did exactly what I needed.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.