Good Morning All,
I have a data import where I need to ignore some rows, then capture some rows, and then capture some rows again for some further data analysis (using select I can run various paths for each column once split)
I have been able to identify the header rows (which are identical) where I need to break, and I know I can delete everything above the first header row, but how would you extract out the data beyond this? The number of rows varies sadly.
Thank you
Example data:
Data | Headers Flag |
Data String to be Ignored | 0 |
Data String to be Ignored | 0 |
Data String to be Ignored | 0 |
This is my header row | 1 |
Data String to be processed now | 0 |
Data String to be processed now | 0 |
Data String to be processed now | 0 |
Data String to be processed now | 0 |
This is my Second header row (its identical to first header row) | 1 |
Data String to be processed Later | 0 |
Data String to be processed Later | 0 |
Data String to be processed Later | 0 |
To This:
This is my header row | This is my Second header row (its identical to first header row) |
Data String to be processed now | Data String to be processed Later |
Data String to be processed now | Data String to be processed Later |
Data String to be processed now | Data String to be processed Later |
Data String to be processed now |
Thank you
Solved! Go to Solution.
hey @Bobbins
I believe i have what you need, with a little bit of a lengthy workflow but it should be dynamic if you have more header rows:
Attached is the workflow,
Thanks.
TheOC
Hello @Bobbins
If you already got the header flags it is fairly simple then.
Got you here an example 🙂
Regards
Thank you so much @afv2688 , @Jonathan-Sherman , @TheOC all of them are perfect answers and work just fine for me, great to see different ways of viewing a problem. I'm unsure whom to mark as the correct solution so sellected the OC as I think he got in first, but please correct me if am wrong!
hey @Bobbins
If im not mistaken, you can mark multiple as solution.
In any case - I'm happy the solutions were suitable, and interesting to see the different approaches.
Cheers,
TheOC
User | Count |
---|---|
17 | |
15 | |
15 | |
8 | |
6 |