Alteryx Designer Desktop Discussions

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

Subtotal output in specific row

BenJones13
7 - Meteor

 

Hello all!

 

Been stumped on this for a while. Is there a way to write an expression to get subtotals and have their output in specific rows?

I would want the to fill in the blanks for each subtotal but I can't seem to achieve it with the Multi-Row formula tool.

 

 Column 1Column 2Column 3
Expense 1564
Expense 2653
Expense 3842
Total Expenses   
Income 1721
Income 2832
Income 3943
Total Income   

 

Thanks!

 

Ben

6 REPLIES 6
DavidSkaife
13 - Pulsar

Hi @BenJones13 

 

Here is one way of doing it:

 

DavidSkaife_0-1674732017819.png

 

binuacs
20 - Arcturus

@BenJones13 One way of doing this

 

binuacs_0-1674732368134.png

 

BenJones13
7 - Meteor

I like the expression used to group, but what if my expenses and incomes were labelled differently? Is there a way to use multiple strings in the Contains function?

 

 Column 1Column 2Column 3
Sales564
Fruit653
Snow842
Total Expenses   
Job721
Side832
Example 3234
Total Income   
binuacs
20 - Arcturus

@BenJones13 Another way of doing this with the Tile tool

 

binuacs_0-1674735931897.png

 

BS_THE_ANALYST
14 - Magnetar

One way:

BS_THE_ANALYST_0-1674745085135.png

 

BenJones13
7 - Meteor

Thanks for help! I managed a little work around but not without the foundations you provided! Much appreciated.

Labels