Alteryx Designer Desktop Discussions

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

help transposing my data

wonka1234
10 - Fireball

Hi,

 

I have this dataset -

 

A or BTeamRevenue
A12346700
B26436700
A56781000
B3939250
B7864100
B1068250
B1111100
B1111300

 

how can I tranpose to something like this -

 

B TeamRevenueTeam
264367001234
567810005678
39392505678
78641005678
10682505678
11114005678
3 REPLIES 3
AndrewDMerrill
13 - Pulsar

It doesn't seem like you want to Transpose your data, please correct me if I am deducing incorrectly. It seems rather that you would like to drop the value for Team A to all rows of Team B beneath it. This can be done as follows with the Multi-Row Formula Tool and the Summarize Tool:

Screenshot.png

wonka1234
10 - Fireball

@AndrewDMerrill  thanks im getting close. however some records are dropping at the column Team using Mode in summarize. What is this doing?

AndrewDMerrill
13 - Pulsar

Mode is totally irrelevant in this circumstance (I just needed something to keep the Team column from being dropped after the Summarize Tool), the dropped column is actually from "Sum". I noticed in your sample input and output that:

A or BTeamRevenue
B1111100
B1111300

became:

B TeamRevenueTeam
11114005678

 

So I added the Summarize tool to add the Revenue values. if this should not happen, feel free to remove the Summarize Tool. If you do need the Summarize Tool, Group By might be better for the Team field. I updated the workflow accordingly with both options (w+w/o Summarize Tool)

Labels