Reply
Centaur
Helper IV
Helper IV
Partially syndicated - Outbound

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

Syndicated - Outbound

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 IV
Helper IV

Syndicated - Outbound

that was perfect!  thank you very much!

serpiva64
Solution Sage
Solution Sage

Syndicated - Outbound

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 !

 

Syndicated - Outbound

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

avatar user

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)