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.
SOLVED

Dataset Building

knnwndlm
8 - Asteroid

Hi SME,

 

I have a dataset in columns A-C in the attached Excel file.  I would like to create a new table based on the input in cells I5:J8.  For example, for stratum 1, I would like to pick up the total amount for the first 13 rows, for stratum 2 the first 10 and for stratum 3 the first 11.  The end result is the cells L5:M8.  Since the input in cells I5:J8 could change, I need to make this dynamic.

 

I supposed that I could do this the long way.  Could you please help me figure out the best approach to this?  Appreciate your help.

 

Thanks,

kwl

2 REPLIES 2
Yoshiro_Fujimori
15 - Aurora
15 - Aurora

Hi @knnwndlm ,

 

Here is one way of doing this.

 

Workflow

Yoshiro_Fujimori_0-1682635769867.png

 

Output

Yoshiro_Fujimori_1-1682635798167.png

(You may remove unnecessary columns with Select tool.)

 

I hope this helps.

knnwndlm
8 - Asteroid

Thank you @Yoshiro_Fujimori 

Labels
Top Solution Authors