Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Transpose

ManuelRodrigues
8 - Asteroid

Hi Peeps,

 

was wondering if you can pls help:

 

I am looking to transpose some data but as the data gets transposed in Alteryx i get the second iteration (as per image) is there a way to get it to the desired outcome?

 

 

ManuelRodrigues_0-1615214393826.png

 

5 REPLIES 5
Luke_C
17 - Castor

@ManuelRodrigues 

 

Here's one approach using the make columns tool. (Note: the make columns tool is a laboratory tool)

 

lukecornetta_0-1615214931839.png

 

jamielaird
14 - Magnetar

Hi @ManuelRodrigues 

 

After transposing the data, add a Formula tool to create a third column with the value "Matching" or "Partipants Awarded". Let's assume this column is named [Field3], and [Field2] contains the values.

 

For example, replacing "Field1" with the name of your field

 

IF Contains([Field1], "Matching", "Matching") ELSE "Participants Awarded" ENDIF

 

Then, use a Multi-Row formula tool to fill down the "Matching @ DD-MMM-YYYY" column using "Update Existing Field" with the following expression, replacing "Field1" with the name of your field

 

IF [Field1] = "Participants Awarded" THEN [Row-1:Field] ELSE [Field1] ENDIF

 

Finally, you can cross-tab the data:

 

  • Group by [Field1]
  • Change Column Headers = [Field3]
  • Values for New Columns = [Field 2]
  • Method for Aggregating Values: choose any option

This should give you the output you need.

 

 

mot
11 - Bolide

Hi @ManuelRodrigues ,

 

Please see attached.

mot_0-1615215034268.png

 

I hope this helps. Best.

jamielaird
14 - Magnetar

We are basically a helpdesk without a ticketing system 😂

ManuelRodrigues
8 - Asteroid

Guys thanks for all the help it seems to have worked with all three solutions. Much appreciated for the quick responses! 😀

Labels