# Standard Deviation - Rates

#### boehnc

##### Board Regular
Still trying to figure out how to calculate a Standard Deviation and plot on a pivotchart when the data is rates.

Table1.Month, Table1.Incidence, Table1.Population, Table1.Rate
Jan-16, 4, 2000, .002
Feb-16, 2, 1934, .001
March-16, 6, 2012, .002
April-16, 8, 2114, .003

Id like to calculate the ave and standard deviation of the rate, but Powerpivot DAX only allows the SD to be calculated on a column, not a calculated measure. I plan to convert the rate to incidences per 1000 and plot and be able to have the SD change depending on the Year slicer selected. Thanks for any suggestions.

### Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

#### Ozeroth

##### Active Member
Hi boehnc,

The STDEVX.S and STDEVX.P functions return the standard deviation of an expression evaluated over a table, and may do what you want.

For example, you could write a measure like:

Code:
``````=
STDEVX.S ( Table1, DIVIDE ( Table1[Incidence], Table1[Population] ) * 1000 )``````

The first argument can be any table for which each row represents the granularity of a data point
The second argument can be any scalar expression (measure or other expression that can be evaluated in the row context of the first argument).

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,164,517
Messages
5,837,791
Members
430,516
Latest member
thaling

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back