Alteryx Designer Desktop Discussions

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

Creating Average w/ StdDev Follow-Up Outcome

Faronnj
8 - Asteroid

Good Afternoon Alteryx Community,

 

I have a question about what would be the easiest way to go about creating the following graph:

 

Faronnj_0-1579196536816.png

 

In Excel, this is what the data looks like prior to making the above graph:

 PrePost-312243660>60
Avg-14.07-0.05-0.170.05-0.26-0.33-0.66
StdDev3.4569531.1015680.9700370.8900371.103581.1598521.345491
Avg + StdDev-10.621.060.800.940.840.830.69
Avg - StdDev-17.53-1.15-1.14-0.84-1.37-1.49-2.00

 

For my excel graphs, I usually had to create a line for the average then do a (Avg+StdDev) and (Avg-StdDev) functions for the 2 stddev lines.  Is this what I am looking to do with alteryx or is there a simpler method.

 

 

CURRENTLY, my workspace data following a summarize and transpose looks like:

 

NameValue
Avg_Preop Sph-14.0739
StdDev_Preop Sph3.919695
Avg_Postop 1-3-7.46E-03
StdDev_Postop 1-31.129805
Avg_>4-12-0.16667
StdDev_>4-120.980302
Avg_>12-244.71E-02
StdDev_>12-240.896557
Avg_>24-36-0.26163
StdDev_>24-361.11664
Avg_>36-60-0.33152
StdDev_>36-601.172668
Avg_>60-84-0.65833
StdDev_>60-841.368493
Avg_>84-108-1
StdDev_>84-1081.74553
Avg_>108-1
StdDev_>1080

 

 

I would greatly appreciate if you attach a workspace using my summarize/transpose data above so I can reference it since I have to make several of these graphs using this sort of follow-up data.  In advance, thank you very much for the workspace in advance, I know it is tedious but it is greatly helpful for reference/learning.  

 

Nick 

3 REPLIES 3
RolandSchubert
16 - Nebula
16 - Nebula

Hi @Faronnj ,

 

you have to split the label column (using Text To Columns tool), the next step is pivoting Avg and StdDev to columns (using Cros Tab tool). Then you can calculate the upper and lower values (Avg + / - StdDev using Formula tool) and you are done. Interactive Chart tool can be used to create the line graph.

Hope this is helpful - I attached a sample workflow.

 

Best,

 

Roland

Faronnj
8 - Asteroid

This is exactly what I was looking for and appreciate the explanation.  I was thinking it had to be done something like that and hadn't figured how exactly the cross tab settings work.  So you helped me with that too!  Thanks again!

Faronnj
8 - Asteroid

@RolandSchubert Another quick question related, is there anyway to make the lines in a chart dashed instead of a solid line?  I cant seem to find a way besides just using the points.  Is there a better way to display average with stddev charts on alteryx?

 

Thanks you again for all your help,

 

Nick 

Labels