Workbench Transform Left() Error
I have a field called "period" that is currently in text format and every cell has exactly six characters in this format '201701'.
I am trying to convert that to "2017-01-01" so that I can follow it up with a date transform.
Problem is, I can't even get the LEFT function to work and it is beginning to drive me nuts. I keep getting an error when I input LEFT(Period,4) - with the goal of returning "2017".
I've played with it repeatedly and keep getting the "index and length must be a location within the string error".
How is the left 4 outside of the string??
Tagged:
0
Comments
-
Would anyone be able to offer some insight on this issue?
0
This discussion has been closed.
Categories
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 311 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3.8K Transform
- 656 Datasets
- 115 SQL DataFlows
- 2.2K Magic ETL
- 811 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 80 App Studio
- 45 Variables
- 771 Automate
- 190 Apps
- 481 APIs & Domo Developer
- 77 Workflows
- 23 Code Engine
- 36 AI and Machine Learning
- 19 AI Chat
- AI Playground
- AI Projects and Models
- 17 Jupyter Workspaces
- 410 Distribute
- 120 Domo Everywhere
- 280 Scheduled Reports
- 10 Software Integrations
- 142 Manage
- 138 Governance & Security
- 8 Domo Community Gallery
- 48 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 114 Community Announcements
- 4.8K Archive