Free Trial

Alteryx Designer Desktop Discussions

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

Insert new row and calculate in a matrix

aaumueller
5 - Atom

Hi there,

 

I'm currently trying to setup an overview of planned working hours by employee and project versus the standard hours. I get the data in the following format from the system:

 

EmployeeProjectWeek 1Week 2Week 3
Employee 1Project 1202010
Employee 1Project 2203020
Employee 1Planned Hours405030
Employee 1Standard Hours404040
Employee 2Project 1404040
Employee 2Project 20100
Employee 2Planned Hours405040
Employee 2Standard Hours404040

 

I would like to add a row under each employee with the difference of Standard Hours to Planned Hours to identify overbookings in each week. So the result would look like this:

 

EmployeeProjectWeek 1Week 2Week 3
Employee 1Project 1202010
Employee 1Project 2203020
Employee 1Planned Hours405030
Employee 1Standard Hours404040
Employee 1Difference0-1010
Employee 2Project 1404040
....    

 

Any help highly appreciated 🙂

Regards

Alex

2 REPLIES 2
fmvizcaino
17 - Castor
17 - Castor

Hi @aaumueller ,

 

Solution attached.

The Tile tool was used to generate a recordID and the sort tool to order as you need.

The parallel process was created to build your difference column. 

fmvizcaino_0-1586949419532.png

 

Best,

Fernando Vizcaino

 

aaumueller
5 - Atom

Thanks so much fmvizcaino, works like a charm!

Labels
Top Solution Authors