Multiple Split Columns
Hey, so i need to split numerous times within a column of data. i'm on the split column tile now, but i don't want to enter 100 new columns to create for each split. is there an easier way to split all of the data in the 'tags' column?
IF I SOLVED YOUR PROBLEM, PLEASE "ACCEPT" MY ANSWER AS A SOLUTION. THANK YOU!
Best Answers
-
@MichelleH Thanks Michelle! Yep, I've thought about that for sure, long-term the plan is a connector that would be pulling this into domo. I was hoping there is an magic etl automation solution for this so we don't have to manually update.…
IF I SOLVED YOUR PROBLEM, PLEASE "ACCEPT" MY ANSWER AS A SOLUTION. THANK YOU!
0 -
I had to do this recently where I had a column with 50+ splits. One thing I did to speed things up is shown in the below recording:
It's not perfect, but it does speed things up. From there I utilize the pivot/unpivot tiles to make the data more useable. Additionally with the pivot/unpivot tiles it doesn't matter how many column splits you have because they get transformed into rows.
If I solved your problem, please select "yes" above
1 -
An option that may become available in the future would be to transform a list like this to JSON and use JSON functionality to expand that list as you see fit.
For a comma-separated list like this, you'd have to probably do the following:
1) Replace any double quotes with a backslash-double-quote2) Replace commas with double-quote-comma-double-quote
3) Prefix the whole column with a left square bracket. Suffix with a right square bracket
4) Consume the column as JSON and split the JSON array you've just constructed into columns or rows.
I know this doesn't answer your question now, but wanted to share that this is future functionality in MagicETL to be looking forward to.
0
Answers
-
@pauljames I noticed that you're using a spreadsheet upload as your input dataset. Depending on how often you need to upload the file, you could try using Excel's text to columns function to break out the columns before uploading to Domo.
1 -
@MichelleH Thanks Michelle! Yep, I've thought about that for sure, long-term the plan is a connector that would be pulling this into domo. I was hoping there is an magic etl automation solution for this so we don't have to manually update.…
IF I SOLVED YOUR PROBLEM, PLEASE "ACCEPT" MY ANSWER AS A SOLUTION. THANK YOU!
0 -
I had to do this recently where I had a column with 50+ splits. One thing I did to speed things up is shown in the below recording:
It's not perfect, but it does speed things up. From there I utilize the pivot/unpivot tiles to make the data more useable. Additionally with the pivot/unpivot tiles it doesn't matter how many column splits you have because they get transformed into rows.
If I solved your problem, please select "yes" above
1 -
An option that may become available in the future would be to transform a list like this to JSON and use JSON functionality to expand that list as you see fit.
For a comma-separated list like this, you'd have to probably do the following:
1) Replace any double quotes with a backslash-double-quote2) Replace commas with double-quote-comma-double-quote
3) Prefix the whole column with a left square bracket. Suffix with a right square bracket
4) Consume the column as JSON and split the JSON array you've just constructed into columns or rows.
I know this doesn't answer your question now, but wanted to share that this is future functionality in MagicETL to be looking forward to.
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 754 Beast Mode
- 61 App Studio
- 41 Variables
- 693 Automate
- 178 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive