Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Subtract sum of multiple rows from another row based on two columns

Giaaa1220
6 - Meteoroid

Hi, please see my attached image for an example of my data structure.

 

I have four portfolios in my data structure for each month: total, sub1, sub2, sub3.

 

I want to add another row called others( calculated by total- sum(sub1,sub2,sub3)) for each month

 

Not sure how to do this using Alteryx. Thanks!

 

 

Giaaa1220_0-1583267554811.png

 

2 REPLIES 2
Simha
9 - Comet

Hi, Here's a solution to your problem. Please don't forget to accept the solution if you like 🙂

 

Simha

Simha_0-1583268801837.png

 

JosephSerpis
17 - Castor
17 - Castor

Hi @Giaaa1220 I mocked up a workflow let me know what you think?

Labels