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

calculate standard deviation based on values in multiple columns alteryx

RK3
6 - Meteoroid

Hi all, 

 

Still quite new to the Alteryx ways of working...

 

I am struggling with finding a shorter and smart way to calculate the standard deviation for each NAME based on values in multiple columns (Days X), without writing the long formula in the Formula tool... For example, my database looks like: 

 

NAMEDay 1Day 2Day 3Day 4Day 5Day 6Day 7Day 8Day 9Day 10Day 11MeanStd. Dev
Anne0.770.830.830.830.840.820.820.830.810.790.810.816364
Tom0.840.850.850.850.850.860.860.850.850.850.850.850909
Jan0.990.990.990.990.990.990.990.990.990.990.990.99

 

The Summarize tool also does not provide what I am looking for so far.

 

Anyone tips to do this in a smart way? 

 

Thanks!

1 REPLY 1
jdunkerley79
ACE Emeritus
ACE Emeritus

Welcome to Alteryx.

 

The easiest way is to transpose you data then summarise and finally join back to the original.

2018-11-20_16-02-02.png

 

The transpose makes the data row based which means the summarise works.

The join then puts the extra columns back on the original set.

 

Sample attached

Labels