Alteryx Designer Desktop Discussions

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

Adding Sub-Total Row

Seba
7 - Meteor

How can I dinamically add Sub-Total Rows and get the SUM of each column?

 

 

This is what I have:

Table1.jpg

 

This is what I need:

Table2.jpg

4 REPLIES 4
cjaneczko
13 - Pulsar

What you want to do is branch off a path in the flow with a Summarize Tool that groups your data by the MOS Category Name and sum up the monthly data. Then take the output of the the summarize tool and union it back to the main workflow. From there you'll sort it back on the MOS Category Name. Below is an example of one that I had created to give the detail with the Sub Total for a category and the Grand Total.

 

 

image.png

Raj
14 - Magnetar

please share the sample input in excel format

 

AndrewDMerrill
13 - Pulsar

Here is a somewhat simple sample workflow that gets you sub total rows:

_Workflow.png

Seba
7 - Meteor

Thank you very much for all your answers, especially for responding so quickly!

@AndrewDMerrill your workflow worked perfectly!

I Added an extra "Rig Total" line

 

Table 3.jpg

 

Thanks again!

Labels