# Standard deviation does not work as expected

**URL:** <https://discuss.dgraph.io/t/standard-deviation-does-not-work-as-expected/8847>\
**Category:** Dgraph\
**Tags:** dgraph, status:accepted, kind:bug\
**Created:** [April 30, 2020, 9:49am UTC](https://discuss.dgraph.io/t/standard-deviation-does-not-work-as-expected/8847 "2020-04-30T09:49:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![diggy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/diggy/32/3666_2.png) [@diggy](https://discuss.dgraph.io/u/diggy)\
**Post date:** [April 30, 2020, 9:49am UTC](https://discuss.dgraph.io/t/standard-deviation-does-not-work-as-expected/8847/1 "2020-04-30T09:49:29Z")

</div>

**Moved from GitHub [dgraph/5339](https://github.com/dgraph-io/dgraph/issues/5339)**

_Posted by_ [sleto-it](https://github.com/sleto-it):

### What version of Dgraph are you using?

20.03.1

### Have you tried reproducing the issue with the latest release?

### What is the hardware spec (RAM, OS)?

### Steps to reproduce the issue (command/config used to run Dgraph).

See [Standard Deviation](http://discuss.hypermode.com/t/standard-deviation/6241) and comment from Pawan

### Expected behaviour and actual result.
