Trim 2 characters from right side of string using Workbench

JasonAltenburg
USA π
in Workbench
I have a dataset that appends every day and I want to remove 2 characters (.0) from the right side using Workbench.
I thought this would be simple, but Search & Replace does not allow replacing with null, and replacing with a space or other character is also undesirable.
Is there a way to use any of the Workbench Transforms to accomplish this? Calculated field also seems like it wouldn't work because it wants to create a new column, unless I'm misunderstanding it.
Tagged:
0
Best Answer
-
You can do a calculated field and then use Left and Length to remove the last 2 characters. Would look like this:
LEFT('field',LEN('field')-2)
**Make sure toany users posts that helped you.
**Please mark as accepted the ones who solved your issue.2
Categories
- 10.6K All Categories
- APAC User Group
- 12 Welcome
- 36 Domo News
- 9.6K Using Domo
- 1.9K Dataflows
- 2.4K Card Building
- 2.2K Ideas Exchange
- 1.2K Connectors
- 338 Workbench
- 250 Domo Best Practices
- 11 Domo Certification
- 460 Domo Developer
- 47 Domo Everywhere
- 100 Apps
- 703 New to Domo
- 84 Dojo
- Domopalooza
- 1.1K ζ₯ζ¬ζ―ι¨
- 4 ιε ΄-ζ₯ζ¬ζ―ι¨γΈγγγγ
- 22 γη₯γγ
- 62 Kowaza
- 295 δ»²ιγ«ηΈθ«
- 649 γ²γγγε ±ζ