Forum Discussion
shylomathew
3 years agoNew Member
removing random spaces
how can i remove random spaces between '-' and numbers?
Example of unclean data that i have -
| - 5 |
| - 3 |
| - 56 |
| - 87 |
4 Replies
- m_alirezaSolution Specialist
Hi shylomathew ,
Open Power Query Editor
Right click on the column > Replace Values
in Value to Find, enter the space bar
in Replace with, dont put anything.
Click ok.
The spaces should be gone now- shylomathewNew Member
This replaces only 1 space at a time
- AnonymousNot applicable
Hi shylomathew ,
Trim & clean might help.
Please kindly refer to
Trim Vs. Clean in Power BI and Power Query - RADACAD
They are done in Power Query.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- shylomathewNew Member
Did not work as the spaces are not in the beginning or end. And it is not control characters, too