Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Get Row Values as Field Nams

CrayonZac
7 - Meteor

Hi Experts,

 

I have a fuzzy question about reframing table.

I was wondering is her any easier way to get the changes as following:

 

Customercurrent dateoperating incomeliquidityother income
116-Dec10003004
117-Dec20004005
116-Jun30005006
117-Jun40006007
118-Jun500070010
216-Dec500451
217-Dec7501224
216-Jun9005325
217-Jun1401326
218-Jun900127

 

customer16-Dec Operating Income16-Dec Liquidity16-Dec Other Income17-Dec Operating Income17-Dec Liquidity17-Dec Other Income16-Jun Operating Income16-Jun Liquidity16-Jun Other Income17-Jun Operating Income17-Jun Liquidity17-Jun Other Income18-Jun Operating Income18-Jun Liquidity18-Jun Other Income
110003004200040053000500640006007500070010
2500451750122490053251401326900127

 

I want to calculate Last 12 Month Value, however, the data is not by days, but as Year To Day. I want to do the transformation because I think Multi Fields Formula could make it.

 

Is there any other recommendation on that?

 

Thanks a lot.

4 REPLIES 4
JohnJPS
15 - Aurora

Hi @CrayonZac,

Sure, it's sort of a partial transpose, so I would approach it with transposing with key fields Customer and current date.  Then combine fields current date and "name" from the transpose.  Finally, cross tab back, grouping by customer, and your combined field from the last step as the header, and the value from the transpose as, still, the value. See attached workflow for exact solution.

scrnshot.png

 

CharlieS
17 - Castor
17 - Castor

A little bit of transformation is needed to make this happen. Check out my attached solution and let me know if you have any questions.

 

CrayonZac
7 - Meteor

Hi there,

 

thanks a lot. May need more works on Dynamic Calculations.

CrayonZac
7 - Meteor

Thanks again. It helps a lot.

Labels