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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Dicko
Helper II
Helper II

Average, SD and variance of production time of products

I have a column Products[Number of Days] with the time it takes to produce a product.
Some products don't have a value for this.

Now I have a visual:
X-axis: Number of Days
Y-axis: Count of Number of Days

I have for example 9 products that take 20 days to produce, and 62 products that take 50 days to produce.

How can I calculate the average, the standard deviation and the variance of the number of days it takes to produce products?

 

I don't think it's just as simple as Average = AVERAGE(Products[Number of Days])

 

Any help is appreciated!

2 REPLIES 2
v-janeyg-msft
Community Support
Community Support

Hi, @Dicko 

 

Can you provide more details about your data? Without knowing the data, it is difficult for us to provide specific solutions
If it is possible, please upload some insensitive data samples and expected output, so we can help you soon.

Reference:

How to Get Your Question Answered Quickly - Microsoft Power BI Community


Best Regards,

Community Support Team _ Janey

amitchandak
Super User
Super User

@Dicko , if the number of days is a column avg should do

AVERAGE(Products[Number of Days])

 

if this is a measure then

AVERAGEX(values(Products[product]) , [Number of Days])

 

for standard Dev

 

refer

https://dash-intel.com/powerbi/statistical_functions_stdev.php

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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