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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
WorkHard
Helper V
Helper V

Calculate Standard Deviation with a slicer for Sigma

I'm trying to build a Standard Deviation based on these rules:

WorkHard_0-1658440440852.png

 

I know I can't create a bell chart like that in PowerBI, but I'm trying to at least create the categories for the intervals/sigma values.

i.e:

=switch(true(),
StandardDeviationInterval>=68.2%,"SD1",
StandardDeviationInterval<68.2% && StandardDeviationInterval>=27.2%,"SD2",
StandardDeviationInterval<27.2% && StandardDeviationInterval>=4.2%,"SD3",
StandardDeviationInterval<4.2% && StandardDeviationInterval>=0.2%,"SD4","SD5+")

 

How do I calculate this deviation interval?

I know how to calculate the standard deviation and the distribution with STDEV.S and NORM.DIST respectevely but these do not give me those 5 ranges/intervals I need.

1 REPLY 1
DataInsights
Super User
Super User

@WorkHard,

 

You might try creating a disconnected table with a row for each range (SD1, SD2, etc.). Then use this table in the visual, and use DAX to get the amount for each range.

 

https://www.sumproduct.com/blog/article/power-pivot-principles/ppp-variables-and-disconnected-tables... 

 

Here's a free histogram visual:

 

DataInsights_0-1658496563597.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.