Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

How to divide data into two by the field numbers written in the specific column

Joohyang
5 - Atom

Hi, is it possible to divide data into two by the field number? but the field numbers are dynamically changing according to the cell in the column name 'Data Start Column'. For example, first row data starts in the field number "4" where '2024" starts. And the field number "4" is written in the 'Data Start Column' column.

 

input.png

 

So, I added filter tool and dynamic select tool to divide each row with the fixed numbers. but the numbers should be dynamically changed according to the column 'Data Start Column'.

20251008_174722.png

 

Please help me how to use avoid manual inputting the number and adding same process (filter & dynamic select tools) everytime when the column number changes.

 

 

 

 

4 REPLIES 4
Yoshiro_Fujimori
15 - Aurora
15 - Aurora

Hi @Joohyang ,

I would Transpose the data to remove unnecessary cells with null() value.

After all the rows are cleansed with the same format, I can transform the data without using "Data start column".

I hope this helps. Good luck.

 

Workflow

Test File_workflow.png

 

Qiu
21 - Polaris
21 - Polaris

@Joohyang 
I am tryng to follow your flow but make it dynamically by using Tile tooll to assign the column number after Transpose tool.

1009-Joohyang.png

Joohyang
5 - Atom

Hi Yoshiro,

I appreciate your approach. However, in my actual dataset, there are no null values—every cell contains some data. Therefore, one common logic I can apply is to split the data based on where "2024" begins.

 

Joohyang_0-1760016301621.png

 

binuacs
21 - Polaris

@Joohyang one way of doing with the batch macro

binuacs_0-1760049828999.png

 

Labels
Top Solution Authors