Combining Data Points after Split Column
Hello! I'm attempting to get a new column that shows flight dates/run dates. The original data is located in a Line Item column (screen 1) and after a Split Column action (screen 2), the flight dates/run dates end up split over several different columns because the # of _delimiters in the original column isn't the same. Does anyone have specific ideas for how to group the flight dates/run dates back together so that they're all in the same column?
Thank you in advance!
Comments
-
if the dates are always at the end, instead of using a SPLIT, calculate from the back (using RIGHT and SUBSTRING)
Alternatively, if you're confident the dates are always the last value, the use COALESCE() starting from the last column
coalesce(`flight date 1`, `global, client`, `product program`)
recall, coalesce will always take the first non-null value.
then use a test on the new column to see if it contains dates. (split on hyphen and check if the results are formatted as a date.
Jae Wilson
Check out my 🎥 Domo Training YouTube Channel 👨💻
**Say "Thanks" by clicking the ❤️ in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"1
Categories
- 10.5K All Categories
- 8 Connect
- 918 Connectors
- 250 Workbench
- 468 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 477 Datasets
- 193 Visualize
- 252 Beast Mode
- 2.1K Charting
- 11 Variables
- 17 Automate
- 354 APIs & Domo Developer
- 89 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 247 Distribute
- 63 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 173 Product Ideas
- 1.2K Ideas Exchange
- 12 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive