Alteryx Designer Desktop Discussions

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

Changing the header

Pradeepkumar
6 - Meteoroid

Hi Team 

 

i need a solution for changing my file header.  i have a below file.

 

  Fiscal year201520152015201520152015
   JanFebMarAprMayJun
Business UnitCategoryBrand PositSales VolumeSales VolumeSales VolumeSales VolumeSales VolumeSales Volume
IsraelDressingsTotal Positions533.922703.091948.898408.131604.25568.334
IsraelDressingsGlobal/Regional122.297133.586128.228129.779147.732143.841
IsraelDressingsGlobal122.297133.586128.228129.779147.732143.841

 

 

i need above to be changed to 

 

Business UnitCategoryBrand PositJan 2015Feb 2015Mar 2015Apr 2015May 2015Jun 2015
IsraelDressingsTotal Positions533.922703.091948.898408.131604.25568.334
IsraelDressingsGlobal/Regional122.297133.586128.228129.779147.732143.841
IsraelDressingsGlobal122.297133.586128.228129.779147.732143.841

 

Basically I need to delete first two rows and make third row has my header and need to change the Sales volume header name to month and year which was there in first and second row.

 

Can any one please help me on this.

6 REPLIES 6
Inactive User
Not applicable

Solution attached.

bharti_dalal
10 - Fireball

hi @Pradeepkumar,

First use sample tool to skip first row of data and than use dynamic rename tool and select ( take field names from first row of data). after this you can use select tool to rename fields you want

 

Screenshot (129).pngi hope this helps.

 

BenMoss
ACE Emeritus
ACE Emeritus

Couldn't resist giving this one a try myself, mines very similar to @Inactive User's post but it should do the job you need.

 

Workflow Screenshot.PNG

 

Ben

mgarcia174
5 - Atom

Thanks for this! I know its one of the more simple things to do, but things can get really overwhelming to first time users. I was able to follow along and apply it to my own work.

Mazi
5 - Atom

How about the solution if instead TEXT INPUT tool you have INPUT DATA tool? Then first row is perceived not the header one but first row of data and then the solution doesn't work. Do you have any ideas how to deal with this in case we have INPUT DATA tool at the beginning? thanks!

Mazi
5 - Atom

actually I found the answer for that one myself 😄 quite easy one, but I am a newbie 🙂

For Input toll it is enough to tick the box "first row contains data" and then follow one of the above solutions.

 

 

Capture1.PNG

 

Labels