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
Syndicate_Admin
Administrator
Administrator

Standard Deviation without considering 0

Good afternoon capos,

I am trying to calculate the standard deviation based on the yield what happens is that it brings 0 (zeros) then the deviation comes out an absurd value I have tried to do it with if but I can not get it with the formula.

I am using a measure to calculate the yield (Volume/Hours), as I need to have the data for the overall total of the product at the end of the month.

ProductDayVolume (Tons)Hours Worked (Hours)Yield (Tons / Hours)
11/9/2021178455 32,44
102/09/2021201533 61.06
19/03/2021102134 30.03
14/9/202100 -
15/9/2021208663 33.11
16/9/2021206836 57,44
17/9/2021239032 74,69
18/9/2021106639 27,33
19/9/20212269sixty-five 34,91
110/09/2021230345 51,18
111/9/2021243143 56,53
112/09/202100 -
113/9/2021209144 47,52
114/9/2021296749 60,55
115/9/2021212555 38,64
116/9/2021203988 23.17
117/9/2021152580 19.06
1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @Syndicate_Admin ;

Please try to create a measure to calculate the standard deviation.

standard deviation = STDEVX.P(ALL('Table'),DIVIDE([Volume (Tons)],[Hours Worked (Hours)]))

The final output is shown below:

vyalanwumsft_0-1631512672517.png

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yalanwu-msft
Community Support
Community Support

Hi, @Syndicate_Admin ;

Please try to create a measure to calculate the standard deviation.

standard deviation = STDEVX.P(ALL('Table'),DIVIDE([Volume (Tons)],[Hours Worked (Hours)]))

The final output is shown below:

vyalanwumsft_0-1631512672517.png

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

You should be able to solve this by applying a report level filter Volume>0

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.