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 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
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
Solved! Go to Solution.
Hi,
here you find the command you need (trim)
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 !
that was perfect! thank you very much!
Hi,
here you find the command you need (trim)
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.
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.