Question of how to mark or pass data for certain amount of records
Best Answer
-
Hi @mhouk
I built a Magic ETL that will get you pretty close to what you are looking for
1st on your data add a column and name it "ROW" that states the row number in your data.
2nd open a magic etl and copy/paste the code attached
3rd connect your input and name your output
4th run it and review the results
your output should look like this (the highlighted columns are your original fields in the spreadsheet)
Domo Arigato!
**Say 'Thanks' by clicking the thumbs up in the post that helped you.
**Please mark the post that solves your problem as 'Accepted Solution'1
Answers
-
Hi @mhouk
I built a Magic ETL that will get you pretty close to what you are looking for
1st on your data add a column and name it "ROW" that states the row number in your data.
2nd open a magic etl and copy/paste the code attached
3rd connect your input and name your output
4th run it and review the results
your output should look like this (the highlighted columns are your original fields in the spreadsheet)
Domo Arigato!
**Say 'Thanks' by clicking the thumbs up in the post that helped you.
**Please mark the post that solves your problem as 'Accepted Solution'1 -
First off thank you for responding! This is a crafty why i would have not thought up.
So I was able to input it with some small issues but I'm able to get output but it's not working the same way. The activities are not properly mapping to the choices.
I am wondering if I did the Join's Wrong or if when it branches with the filters…
I also want to mention that it looks like your output is correct but also not what im looking to fully achive. In this test case each record in between the activity represents a person. So each building unit is a record and will have data along with these three columns.
The Excel file i uploaded now shows what I would like my end goal to look like.
0 -
Just to update I had to make a different Row number to keep everything indexed I was working off using the rank and window by property but i made a constant and then ranked by the constant to keep the same indexing.
Thank you agian this helped me out alot!
1
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
- 659 Datasets
- 116 SQL DataFlows
- 2.2K Magic ETL
- 816 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 82 App Studio
- 45 Variables
- 776 Automate
- 190 Apps
- 481 APIs & Domo Developer
- 82 Workflows
- 23 Code Engine
- 41 AI and Machine Learning
- 20 AI Chat
- 1 AI Playground
- 2 AI Projects and Models
- 18 Jupyter Workspaces
- 411 Distribute
- 120 Domo Everywhere
- 280 Scheduled Reports
- 11 Software Integrations
- 144 Manage
- 140 Governance & Security
- 8 Domo Community Gallery
- 48 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 115 Community Announcements
- 4.8K Archive