# 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

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

#### 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).

Replies
4
Views
189
Replies
0
Views
315
Replies
0
Views
293
Replies
5
Views
12K

1,130,444
Messages
5,642,180
Members
417,259
Latest member
gtacw

### 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.
Allow Ads at MrExcel

### Which adblocker are you using?

Follow these easy steps to disable AdBlock

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

### Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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