Alteryx Designer Desktop Discussions

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

Two Identical tables stacked, split into two?

Dstein
6 - Meteoroid

I have a set of data that looks like this:

 

F1F2F3F4
 Activity DateNet TradeNet Cash
Account 1   
Wednesday 05/11/2022-74,638.620
Thursday 05/12/202217,243.91-74,638.62
Friday 05/13/202267,247.0717,243.91
Monday 05/16/2022-70,770.8867,247.07
Tuesday 05/17/2022-22,116.47-70,770.88
Wednesday 05/18/20220-22,116.47
Wednesday 06/01/2022-722,700.000
Thursday 06/02/20220-722,700.00
Account 2   
Wednesday 05/11/2022-2,444,003.880
Thursday 05/12/2022467,746.48-2,444,003.88
Friday 05/13/20221,872,374.73467,746.48
Monday 05/16/2022-1,043,716.011,872,374.73
Tuesday 05/17/2022181,732.97-1,043,716.01
Wednesday 05/18/20220181,732.97
Wednesday 06/01/2022-322,700.000
Thursday 06/02/20220-322,700.00

 

The amount of rows is not constant, some days it can show 8 per account, other days 5 rows. Need to figure out a way to dynamically split into two tables like so:

 

Account 1Activity DateNet TradeNet Cash
Wednesday 05/11/2022-74,638.620
Thursday 05/12/202217,243.91-74,638.62
Friday 05/13/202267,247.0717,243.91
Monday 05/16/2022-70,770.8867,247.07
Tuesday 05/17/2022-22,116.47-70,770.88
Wednesday 05/18/20220-22,116.47
Wednesday 06/01/2022-722,700.000
Thursday 06/02/20220-722,700.00

 

Account 2Activity DateNet TradeNet Cash
Wednesday 05/11/2022-2,444,003.880
Thursday 05/12/2022467,746.48-2,444,003.88
Friday 05/13/20221,872,374.73467,746.48
Monday 05/16/2022-1,043,716.011,872,374.73
Tuesday 05/17/2022181,732.97-1,043,716.01
Wednesday 05/18/20220181,732.97
Wednesday 06/01/2022-322,700.000
Thursday 06/02/20220-322,700.00
1 REPLY 1
johnyli168
Alteryx
Alteryx

Hey there Dstein,

I have attached an example of how you could achieve this and annotated the process. You can further refine based on what requirements and nuances there are with this process, e.g. a batch macro if there are more than 2 table outputs instead of a filter. 

 

Hope this helps!

 

 

johnyli168_1-1653267885684.png

 

Labels