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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
udaykiranboppan
Regular Visitor

SPC Charts how to calculte the UCL and LCL

Hi,

 

I am trying to create a SPC chart, I have calculated the Average sales, but the Standard Decviation is showing 0 and hence the UCL and LCL are showing the same values.

 

udaykiranboppan_0-1659961737322.png

 

udaykiranboppan_2-1659961900901.png

udaykiranboppan_0-1659962289366.png

 

Could someone please help me in this regard.

 

Link to PBIX - https://drive.google.com/file/d/11PrLUOHrL-r_wO-_NzTjlTVcGCrqaskZ/view?usp=sharing

 

Many Thanks,

Uday

1 REPLY 1
Bubble4502
Resolver III
Resolver III

Hi @udaykiranboppan ,

 

According to my knowledge, this may caused by Allselected(), please try to use a new measure like this to replace StdDev

StdDev = CALCULATE(STDEVX.P(Sales,'Dimensions'[No of Sales]),FILTER( ALL('Table'),[YearMonthShort]=MAX(YearMonthShort))

 

Kind Regards,

Bubble

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.