Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Text to columns - Parsing tool

Ravy12
7 - Meteor

I have a below columns which I want to split. This is straightforward using text to column tool and using delimiter as ,
Step 1 : My question is how can I set number of columns dynamic (and not a static number) such that , the tool only returns non null columns.

Step 2: After splitting into columns, How can I take a sum of those multiple columns

Length
51
59,46
46,55,67,49,60
71,62
40,61,65
2 REPLIES 2
grossal
15 - Aurora
15 - Aurora

hey @Ravy12,

 

I'd add a "Record ID" and set the Text To Columns tool to split them into rows instead of columns, this make it easier to summarize them.

 

grossal_0-1584091490222.png

 

I have attached the sample workflow.

 

If this solved you problem, please consider to accept it as a solution or drop another question if it doesn't.

 

Alex

 

 

 

 

AbhilashR
15 - Aurora
15 - Aurora

@Ravy12 - someone in the community had posted this solution months ago (cant remember the name to give credit), but the attached solution should help you to make your text to column more dynamic.

Labels