Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Multiple row and multiple field summing in a new field

julius
7 - Meteor

Hi everyone,

 

I have many records and many fields, I want to sum every record from every field like this:

 

 

thanks!

 

weekfield 1field2field3……..field 1020
1101 1
2011 1
3111 1
4111 1
5100 1
6100 0
7100 0
8100 0
9010 1
      
      
weeknew_field   
13    
23    
34    
44    
52    
61    
71    
81    

9

2    
3 REPLIES 3
AndréB
Alteryx Alumni (Retired)

Hi @julius - seems like a job for the transpose and summarize tools.

MarqueeCrew
20 - Arcturus
20 - Arcturus

@julius

Here's my take:

 

  1. TRANSPOSE:
    1. KEY = WEEK
    2. Data = All other fields, including "unknown"
  2. SUMMARIZE
    1. Group by Week
    2. SUM Value (note:  you might need to change type to a number using a select before this)
  3. That's it.

 

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
julius
7 - Meteor

thank you!

Labels
Top Solution Authors