- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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 !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

that was perfect! thank you very much!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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 !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
01-03-2025 01:10 AM | |||
01-03-2025 09:20 AM | |||
05-11-2023 06:53 AM | |||
02-02-2024 05:51 PM | |||
Anonymous
| 10-15-2020 03:28 AM |
User | Count |
---|---|
28 | |
27 | |
25 | |
14 | |
10 |
User | Count |
---|---|
24 | |
21 | |
17 | |
16 | |
10 |