Free Trial

Alteryx Designer Desktop Discussions

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

Formatting columns into rows by matching with each entry

dianastate
6 - Meteoroid

Hi!

 

I would need your help with this problem:

 

I have an excel file that I want to automate using Alteryx. The file contains the daily forecast, per partner, per country.

  • The columns headers: date and the corresponding retail week.
  • The rows names: partner name and the country.

 

 Datee.g. Day 1e.g. Day 2e.g. Day 3
 Retail Weeke.g.1e.g. 2e.g. 3
PartnerCountryForecastForecastForecast
e.g. Teslae.g. UKe.g. 111e.g. 123e.g. 134

 

 

I need a workflow which transpose the dates into rows, and matches the partner, country and retail week data, with the corresponding date:

 

DateRetail WeekPartnerCountryForecast
e.g. Day 1e.g.1e.g. Teslae.g. UKe.g. 111
e.g. Day 2e.g. 2e.g. Teslae.g. UK e.g. 123

 

I have attached the input excel file and a screenshot with the desired output. 

 

Thank you a lot! 😁

 

1 REPLY 1
FrederikE
13 - Pulsar

Hey @dianastate,

 

This should work. I separate the headers and then rejoin them as their own columns. Then the transpose is quite simple. 

FrederikE_0-1684843354932.png

 

Labels
Top Solution Authors