Alteryx Designer Desktop Discussions

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

Question on Horizontal Multiple Fields Addition

msyosd
7 - Meteor

Could someone advise me on adding male consumption and female consumption horizontally (Please see the attached sample data below)? It's easy to do so with Excel, but I am now sure how to do it with Alteryx.
Thank you in advance for your attention and advice!

4 REPLIES 4
OllieClarke
15 - Aurora
15 - Aurora

Hi @msyosd 

 

You could of course do this in a formula tool with 6 formulae e.g. [0~4]+[0~4_2] etc.
but this was a slightly more dynamic approach:

 

There was a bit of manual intervention to align age ranges etc. so it might be simpler to go with the formula approach mentioned above

OllieClarke_0-1639997132798.png

Anyway, hope that helps,

 

Ollie

 

 

messi007
15 - Aurora
15 - Aurora

@msyosd,

 

Another way to do it.

 

messi007_0-1639999702161.png

 

Attached the workflow,

Regards,

msyosd
7 - Meteor

Indeed, I was also wondering if I should go with the tedious but straightforward approach. Thank you for the suggestion too!

msyosd
7 - Meteor

Thank you, very creative and helpful!

Labels
Top Solution Authors