Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Standard Deviation of actions posted

Hello Power BI Experts,

 

 

I am trying too creating a control chart using standard deviation to calculate UCL / LCL means @(3, 2, 1) levels (see table below).  Lacking the appropriate DAX coding experience I am having trouble producing the results expected.

 

Any help would be greatly appreciated.

 

Thank you,

 

 

 

Week2018Average  STDEVUCL*3LCL*3UCL*2LCL*2UCL*1LCL*1
166.063.5       
274.063.5       
351.063.5       
462.063.5       
564.063.5       
673.063.5       
764.063.5       
854.063.5       
976.063.5       
1060.063.5       
1163.063.5       
1255.063.5       

 

 

 

 

 

3 REPLIES 3
v-lili6-msft
Community Support
Community Support

hi @Anonymous 

You could use STDEV.P Function to create a measure for it.

and you could also have a look at this post:

https://community.powerbi.com/t5/Desktop/Control-Chart-UCL-LCL-of-Rejected-Category/m-p/812867

 

Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Lin,

 

Using the Standard Deviation syntax below how would I adjust the DAX command to fit my original query?

 

Std Dev = CALCULATE(STDEVX.P('Calendar',[Total Sales]), ALLSELECTED('Calendar'))

Anonymous
Not applicable

Hello Lin, thank you for responding to my query -

 

I am still confused and my be missing something; the other solution does not highlight how one would calculate Standard Deviation and in turn calculate 1, 2, or 3 sigma control limits?

 

Thank you

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.