We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

how to add subtotal on additional row

Beckyli
8 - Asteroid

how to add subtotal on additional row. sample data on sheet1, i want to show like sheet 2.

 

 
 

 

 
 

 

 

 

 

 
 
 

 

 

 

 

 

10 REPLIES 10
DataNath
17 - Castor
17 - Castor

Hey @Beckyli, how does this look?

 

DataNath_0-1661381676549.png

Beckyli
8 - Asteroid

if i want to "ABC Total" instead of Total, how should i add "store name +Total" on formular

DataNath
17 - Castor
17 - Castor

Hey @Beckyli, you'd just edit this expression to place [Store Name] beforehand:

 

if IsNull([Store #]) then [Store Name]+' Total' else [Store Name] endif

 

DataNath_1-1661438580446.png

Beckyli
8 - Asteroid

mine is not work.

Beckyli_0-1661439583470.png

 

DataNath
17 - Castor
17 - Castor

@Beckyli have you re-ran the workflow since adding [Store Name] in front? I can't replicate the issue unless I remove [Store Name] like so:

 

Without

DataNath_0-1661439913222.png

 

With

DataNath_1-1661439929173.png

Beckyli
8 - Asteroid

i re run the workflow, but still not showing the store name before the Total.

DataNath
17 - Castor
17 - Castor

@Beckyli if you close and re-open the workflow and then try to run it again, does that help? Unless I'm missing something obvious, I really can't see why this wouldn't work - the fact that the expression is all coloured and you haven't received any erroring also suggests it's fine.

Beckyli
8 - Asteroid

thanks, i got.

if i need add grand total row which means i summary all total row, how should i do

Beckyli_0-1661441997552.png

 

DataNath
17 - Castor
17 - Castor

@Beckyli I've just added another branch of Summarize + Formula that essentially totals the sub-totals before Unioning them onto the bottom of the final dataset:

 

DataNath_0-1661442457605.png

Labels
Top Solution Authors