Forum Discussion
RamiDaoud
5 years agoFrequent Visitor
Remove White Spaces between decimal digits
Hello, I have Latitude column with Decimal type and there are some spaces between the digits. My question is how I can remove the spaces? . I tried trim function which required changing the type fro...
CNENFRNL
5 years agoCommunity Champion
Hi, RamiDaoud , Text.Remove does the trick for you.
Table.AddColumn(Source, "Custom", each Text.Remove([Latitude], " "))RamiDaoud
5 years agoFrequent Visitor
I tried it but I recived the follwoing error:
Expression.Error: The value isn't a single-character string.
Thank you
- Jimmy8015 years agoCommunity Champion
Hello RamiDaoud
are you sure the second parameter is a " " and not a string with 2 characters?
BR
Jimmy
- RamiDaoud5 years agoFrequent Visitor
Thank you for your comment I modified it based on your comment. However, I recived the following error:
Expression.Error: We cannot convert the value 32.346477999999998 to type Text.
Details:
Value=32.346478
Type=[Type]- Jimmy8015 years agoCommunity Champion
Hello
Then surround your column reference with Text.From()
Br jimmy