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

Alteryx Designer Desktop Discussions

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

Cross Tab and Transpose

sagarb
8 - Asteroid

Hello,

 

I have this simple dataset as shown below

MonthIncoming CallsAvg Incoming Call TimeOutgoing callsAvg. Outgoing Call Time
Jan5103015
Feb612405

 

I am trying to get it into this format

MonthCall TypeNo of CallsAvg Call Time
JanIncoming510
Jan Outgoing3015
FebIncoming612
FebOutgoing405

 

I thought it was going to be a simple calculation but I am not able to get it into the desirable format. I am using Transpose but I guess I am not using it the right way. Thanks for your help.

13 REPLIES 13
tkhan
6 - Meteoroid

Hi ben, so the null values, are because of the cross-tab function, and I cannot figure out a way to clean the data .

 

Any other tricks your sleve? I have attached a few screenshots for you to take a look

 

 

 

 

Post.PNGPre.PNG

tkhan
6 - Meteoroid

Yea the nulls are a result of the cross tab, and the data cleanse tool doesnt see the columns, any other suggestions?

 

BenMoss
ACE Emeritus
ACE Emeritus
You could use the ‘multi field formula tool’ which can be set to include ‘unknown fields’ as selected, and write a formula along the lines of...

If isnull([_currentfield]) then ‘this’ else [_currentfield_] endif

Hope this helps.

Ben
tkhan
6 - Meteoroid

Worked like a charm Ben,

 

Thanks for the help

Labels
Top Solution Authors