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

Standard deviation on a row of data ?

mgirdwood
6 - Meteoroid

Hi

I am new to Alteryx, i have looked at other examples and googled but can not seem to work this out.

 

I have a table of data (below) with rows of data that I want to to find the Standard Deviation for, for each row.

 

mgirdwood_0-1669990676057.png

 

 

I am sure this should be a one node fix but I can not seem to find the way.

 

If anyone has a suggestion I would be grateful

 

Mark

2 REPLIES 2
DataNath
17 - Castor
17 - Castor

Hey @mgirdwood, if you Transpose your data to start, selecting all fields other than your numeric ones you want to find the StDev of as your Key Columns:

 

DataNath_0-1669994766562.png

DataNath_1-1669994773680.png

 

You can then use a Summarize tool to go Add > Numeric > Standard Deviation:

 

DataNath_3-1669994826480.png

 

Finally, you just need to Join it back on based upon the row 'identifier' i.e. [Type] here:

 

DataNath_4-1669994852922.png

mgirdwood
6 - Meteoroid

Thanks Nath,

I had sort of got near there but couldn't get the SD returned to the table, the numbers are slightly out but apparently there are a couple of methods of calculating SD so I will need to check which one is built in to Alteryx.

 

Mark

Labels
Top Solution Authors