Alteryx Designer Desktop Discussions

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

Transpose column of Data

sriku
7 - Meteor

Hi All,

 

I need help in transpose column of data to Catergory and sub-category format as mentioned :

 

UniqueMonthCategorySub_categoryAmount
2012/1/2015Category_1Sub_category1310
3112/1/2015Category_1Sub_category2278
3512/1/2015Category_1Sub_category3176
9712/1/2015Category_2Sub-Category1212
9812/1/2015Category_2Sub-Category2170
9912/1/2015Category_2Sub-Category3250
10812/1/2015Category_2Sub-Category4110
16112/1/2015Category_2Sub-Category5366

 

Thanks,

Srikant

3 REPLIES 3
RolandSchubert
16 - Nebula
16 - Nebula

Hi @sriku ,

 

just to clarify - if you transpose the first row in your sample data using category and sub-category as row labels, you will end up with 8 rows (one row for each sub-category, grouped by two categories). In your result, there is only one row. Is there any additional rule or transformation needed?

 

Best,

 

Roland

RWvanLeeuwen
11 - Bolide

Hi @sriku ,

 

Is this what you need?
I noticed the colours in the excel so I treated the subcategories as nested within the categoriesI noticed the colours in the excel so I treated the subcategories as nested within the categories

 

 

Best,
 
Roland
 
Infotopics - Benelux partner of the year
Empowering business through analytics. See, Understand, Act!
RolandSchubert
16 - Nebula
16 - Nebula

Without any additional rules, the result would be:

 

07-02-_2020_11-58-36.png

 

See attached worklfow.

Labels