ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Creating columns based off sub-rows

jhwth
6 - Meteoroid

I have an input table like below that is unformatted; essentially, there are sub-rows containing currency values:

Column 1Column 2
Item 1 
Currency 1100
Currency 2150
Currency 325
Item 2 
Currency 1500
Item 3 
Currency 3100
Currency 4100

 

Is there a way to group column 1 so that Column 1 shows the items while the different currency types becomes new columns? Essentially, the output needs to be something like this:

ItemCurrency 1Currency 2Currency 3Currency 4
Item 1100150250
Item 2500000
Item 300100100
1 REPLY 1
Clifford_Coon
11 - Bolide

Hi,

 

You can use a multi-row formula, followed by a Transpose / Crosstab pair.

 

Example attached.

Labels
Top Solution Authors