Join the Alteryx Community’s Maveryx Summer Cup event! Compete, network with others, and earn your gold through a series of challenges from July 24th to August 11th. Learn more about the event here.

Alteryx Designer Desktop Discussions

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

Dynamically Add new Columns

BRRLL99
11 - Bolide

Hi,

I'm looking for total of the columns and their percentage below, the issue is new columns might add or reduce , according i'm looking for total column, random data has been attached 

 

dataliamnoaholiverwilliamlucas
868A1020304010
979G3040508020

 

Expected Output:

 

dataliamnoaholiverwilliamsamemmahenryTotalWeights
868A10203040105055215 
868A5%9%14%19%5%23%26% 100%
979G30405080994312354 
979G8%11%14%23%28%12%3% 100%
100D10203040506070280 
100D4%7%11%14%18%21%25% 100%

 

as shown in the expected output , new columns and rows might add and calculation should be done accordingly.

1 REPLY 1
ed_hayter
12 - Quasar

Made this flow to handle your question. They key is to leave the dynamic columns box checked so that Alteryx knows what to do with new columns added to the flow:

ed_hayter_0-1681936573460.png

You will get yellow warning messages if columns from the original flow disappear but that shouldnt be a major issue.

ed_hayter_1-1681936642474.png

this is they key part in the first transpose configuration.

 

Labels