The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
how can i remove random spaces between '-' and numbers?
Example of unclean data that i have -
- 5 |
- 3 |
- 56 |
- 87 |
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.
Did not work as the spaces are not in the beginning or end. And it is not control characters, too
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
This replaces only 1 space at a time