Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

Designer | Dynamic Grand Total

Mj9715
8 - Asteroid

Hi All 

 

During the course of my workflow, I end up with summarized data looking like below. I need to Grand total column (as shown in red), which is row-wise sum of multiple numeric columns. The catch is that the number of numeric columns isnt constant, sometimes its three cols like shown below and sometimes thirty!! 

 

So using a manual formula like [col1] + [col2] wont work.  Attached sample data for reference. 

 

Can someone suggest how to create the total dynamically based on number of columns present in that run?

GroupAccount Designation2_5_years7_10_years_1_yearGrand Total 
HKF  8787
HKH975650018209295
3 REPLIES 3
atcodedog05
22 - Nova
22 - Nova

Hi @Mj9715 

 

You can use the transpose crosstab combo and use crosstab functionally to get column total like below. This method is dynamic.

 

atcodedog05_0-1645457939641.png

 

Hope this helps : )

 

Mj9715
8 - Asteroid

@atcodedog05 Quick and helpful as always!! Thank you, you are amazing!

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @Mj9715 

Cheers and have a nice day!

Labels