Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi
I got list of tallest building from the link below. One table has Height column and the numbers are like this
100.3 m
200m
300 m
400.1m
How to get rid of m? I used Power Query-->Split-->Delimiter , first using Space and I got rid of some m but for numbers like this
200m
I can use Split--> From Digit to Non Digit, but for number like this
400.1m
If I used Split-->Digit to non Digit, I will get this
400 .1 m
But I want to split like this 400.1 m
What you would do? Thank you so much.
https://en.wikipedia.org/wiki/List_of_tallest_buildings
Solved! Go to Solution.
@lastnn30 In Power Query use a Replace to replace "m" with "" (nothing) and then do Trim and Clean operations.
Hi @lastnn30 ,
How about this:
Before:
After:
Just right click onto the column and press Replace Values...:
Chose "m" for Value to Find and leave Replace With empty:
Finally, change Data Type to Decimal Number:
Was this what you were after? Let me know 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
Also happily accepting Kudos 🙂 |
Feel free to connect with me on LinkedIn! |
#proudtobeasuperuser |
Hi @lastnn30 ,
How about this:
Before:
After:
Just right click onto the column and press Replace Values...:
Chose "m" for Value to Find and leave Replace With empty:
Finally, change Data Type to Decimal Number:
Was this what you were after? Let me know 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
Also happily accepting Kudos 🙂 |
Feel free to connect with me on LinkedIn! |
#proudtobeasuperuser |
@lastnn30 In Power Query use a Replace to replace "m" with "" (nothing) and then do Trim and Clean operations.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
101 | |
75 | |
63 | |
62 |
User | Count |
---|---|
143 | |
104 | |
102 | |
81 | |
66 |