In case you missed the announcement: Alteryx One is here, and so is the Spring Release! Learn more about these new and exciting releases here!

Alteryx Designer Desktop Discussions

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

Totals in the same column

akvsachin
8 - Asteroid

I’ve attached a snippet showing my attempt to calculate sub-totals and grand totals in the same column while grouping the data by a specific column and sorting it by the same column.

Could you please suggest if there’s another way to achieve this? I’ve also attached a sample worksheet for reference.

6 REPLIES 6
binuacs
21 - Polaris

@akvsachin what are the group-by fields used to calculate the sub-total? do you have the expected result?

akvsachin
8 - Asteroid

Have attached a worksheet with output

binuacs
21 - Polaris

@akvsachin This can be done using a batch macro

image.png

akvsachin
8 - Asteroid

Hi @binuacs 

 

Thank you for the solution! The problem is resolved.

However, is there a way to achieve this without using batch macros?

binuacs
21 - Polaris

@akvsachin non- macro solution

image.png

flying008
15 - Aurora

Hi, @akvsachin 

 

FYI.

 

录制_2025_01_14_09_53_42_848.gif

 

RecordIDNameIDCategoryCountry of IssueAmount
1Ashish232654Online ShoppingIndia85
2Lily232654Cricket StadiumUS15
3 232654  100
1Antony623958Cricket StadiumBrazil51
2Sujeet623958Online ShoppingIndia12
3Pedri623958TVSpain91
4Kane623958Football MatchUS52
5 623958  206
1Kunal846572Gaming ConsoleIndia95
2Sachin846572ReferigeratorIndia52
3Suresh846572GroceryIndia63
4Benzema846572GrocerySpain97
5Gavi846572ReferigeratorSpain84
6Marcelo846572Football MatchSpain93
7 846572  484
1Anjali953274Electonics EquipmentIndia95
2Harsh953274Laptop & AccessoriesIndia74
3Mukesh953274TVIndia96
4Sridhar953274Match Arena TurfUnited Arab Emirates12
5 953274  277
     1067
Labels
Top Solution Authors