Mean Median Mode using SQL and DAX


In this article, I’m going to introduce the basics of the Statistical Functions – Mean, Median and Mode and how can these be calculated using SQL and DAX. The mean, median and mode are the three most widely used kinds of « averages » in statistics. I think these are very common and you’re likely to encounter one or all of these in any statistical inference while working or performing some kind of data analysis.

Let’s get started and understand the concepts within.

In this tutorial, I will consider the following series and calculate all the averages based on this only.