Forum Discussion

mweber's avatar
mweber
Frequent Visitor
7 years ago

Standard Deviation

Hello,

 

I'm having trouble getting the correct Standard Deviation from a dataset. Here's a subsection of a datset I'm working with:

Week EndingSiteSKU NbrUnits
1/6/2019Sycamore10023515664680
1/6/2019Sycamore100276536334260
1/6/2019Sycamore1002596200128
1/6/2019Sycamore1003232393700
1/6/2019Sycamore20758529700
1/6/2019Sycamore10010752123392
1/6/2019Sycamore10027654661408
1/6/2019Sycamore10027654691728
1/6/2019Sycamore10018694861595
1/6/2019Sycamore1003229847580
1/6/2019Sycamore1003229848144
1/6/2019Sycamore10016550653072
1/6/2019Sycamore10027653534048
1/6/2019Sycamore10027653583300
1/6/2019Sycamore10012402153328
1/6/2019Sycamore1003115503576
1/6/2019Kingman1001869486935
1/6/2019Kingman20758510116
1/6/2019Kingman10012402152756
1/6/2019Kingman10010752121056
1/13/2019Sycamore20758556736
1/13/2019Sycamore100107521226160
1/13/2019Sycamore10023515668460
1/13/2019Sycamore100276535813464
1/13/2019Sycamore100276546917832
1/13/2019Sycamore100186948618920
1/13/2019Sycamore100276536355050
1/13/2019Sycamore100124021528392
1/13/2019Sycamore1003232393904
1/13/2019Sycamore1003229847488
1/13/2019Sycamore1002765466656
1/13/2019Sycamore10016550652496
1/13/2019Sycamore1002765353880
1/13/2019Sycamore10031155031392
1/13/2019Sycamore1003229848180
1/13/2019Sycamore1002596200128
1/13/2019Kingman100124021515184
1/13/2019Kingman100107521212880
1/13/2019Kingman10018694863960
1/13/2019Kingman2075854356
1/20/2019Sycamore100235156610820
1/20/2019Sycamore100107521227680
1/20/2019Sycamore100276546913736
1/20/2019Sycamore20758555548
1/20/2019Sycamore100276535813728
1/20/2019Sycamore10031155032592
1/20/2019Sycamore1003232393228
1/20/2019Sycamore10027653532552
1/20/2019Sycamore100322984776
1/20/2019Sycamore100186948614410
1/20/2019Sycamore100276536325800
1/20/2019Sycamore100322984818
1/20/2019Sycamore10027654661200
1/20/2019Sycamore100124021525896
1/20/2019Sycamore10016550654064
1/20/2019Kingman100107521220928
1/20/2019Kingman10018694869625
1/20/2019Kingman100124021522620
1/20/2019Kingman20758549896

 

What I'm trying to accomplish is to simply get the Standard Deviation of Average Weekly Units for each SKU Nbr. I've been succesful at creating a measure that will get me the weekly avg. but can't seem to get the Standard Dev.  In excel, all you have to do is create a pivot on week ending, sum up the SKU, and see what the average and StD is across all weeks. (e.g. the answer for 207585 is avg. per week=68,784 & Standard Deviation=27,339) I can't seem to replicate this using DAX. Any help would be greatly appreciated. 

 

MWeber

10 Replies