Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Need Help Building a Quick Workflow to Transform Data

katherinetdavita
8 - Asteroid

I'm under a significant time crunch and don't have time to figure this out myself - hoping someone can help me with a super quick workflow that can use the attached data on input tab to what it looks like on the output tab of the attached file.

 

8 REPLIES 8
DavidSkaife
14 - Magnetar

Hi @katherinetdavita 

 

Here you go, using the Generate Rows tool to build out between the start and end dates, then the Multi-Row Formula tool to increment the TMID (if that was what you wanted). Finally a Select tool to remove unwanted columns, and re-arrange:

 

Screenshot 2025-04-23 213542.png

abacon
10 - Fireball

This does the trick. 

abacon
10 - Fireball

@katherinetdavita , I missed the iterate the TMID column, @DavidSkaife's workflow does what you want.

katherinetdavita
8 - Asteroid

Hi! Thank you for this! I just put some real data in and am getting an error!

 

 

katherinetdavita
8 - Asteroid

@DavidSkaife , also realizing I made an error on that output data. Should all be the same TMID all the way down as in the attached new sample data

Qiu
21 - Polaris
21 - Polaris

@katherinetdavita 
Just remove the Multi-Row formula tool from the flow @DavidSkaife 😁

0425-katherinetdavita.png

katherinetdavita
8 - Asteroid

@Qiu Thank you - I had gotten that far trying to work through it on my own so it's good to hear I was on track. Now I seem to be having trouble with date formatting - always a struggle for me! Does that generate rows tool require the dates going in to be strings? And if so, what's the best fix for making them the right format when the input data has dates that look different as in the attached image? The workflow you provided works for the first few rows, but not the one with the 3/20 start date. Thanks again for your help!

Qiu
21 - Polaris
21 - Polaris

@katherinetdavita 

We can seperate the data stream by the the Date format and use the DateTime tool to format the String type to Date Type as below.

0425-katherinetdavita-r1.png

Labels
Top Solution Authors