• Skip to main content
  • Skip to footer

Curbal

Learn how to grow your business with your data and Power BI

  • Data Stories
    • Power BI Stories
    • 1 dataset, 100 matplotlib visualizations
  • Learning Portal
    • Download Center
    • 25 Days Challenge
    • DAX Glossary
    • Power BI
    • Power BI by Topic
    • Python
    • 1 dataset, 100 matplotlib visualizations
  • Courses
    • Power BI Mini Master Class 1: Using a REST API as a data source
    • Power BI Master Class 1: COVID Tracker
    • Introduction to Power BI – FREE Online course
    • M Language + Power Query Course Bundle
    • Power Query Online Training [updated 2022]
    • M Language Online Course: The unofficial and Practical Reference Guide [updated 2025]
    • My Courses
  • Shop
    • Courses
    • Master Classes
    • Template Apps
    • JSON Themes
  • Cart
  • Register/ Log In
    • Become a Member
    • Log In
    • My account
    • My Courses
  • Search
  • Contact
You are here: Home / CM Tooltip Glossary Pro+ / AVERAGE

AVERAGE

posted on September 22, 2018

« Back to Glossary Index

Syntax

AVERAGE(<ColumnName>)

Tutorial with example

In this series of statistical functions we are looking at the AVERAGE:

DAX Fridays! #96: MEDIAN, AVERAGE, MEAN, MODE | The Bill Gates Effect

Download example file:

To get the files:
1. Go to Curbal Download Center > Dax Fridays
2. Get File #96

Remarks

This function takes the specified column as an argument and finds the average of the values in that column. If you want to find the average of an expression that evaluates to a set of numbers, use the AVERAGEX function instead.

Nonnumeric values in the column are handled as follows:

  • If the column contains text, no aggregation can be performed, and the functions returns blanks.
  • If the column contains logical values or empty cells, those values are ignored.
  • Cells with the value zero are included.
  • When you average cells, you must keep in mind the difference between an empty cell and a cell that contains the value 0 (zero). When a cell contains 0, it is added to the sum of numbers and the row is counted among the number of rows used as the divisor. However, when a cell contains a blank, the row is not counted.

Whenever there are no rows to aggregate, the function returns a blank. However, if there are rows, but none of them meet the specified criteria, the function returns 0. Excel also returns a zero if no rows are found that meet the conditions.

Tutorial with example: Calculate Moving averages in Power BI

In today’s video we will learn how to use DATESINPERIOD function using Moving Average calculation. First we will explain what a Moving average 3 months is and how it is calculated. Later on we will build a measure that will explain how DATESINPERIOD is used.

DAX Fridays! #40: DATESINPERIOD (Moving x Months average)

Download example file:

Not available

Was this helpful?
Related Articles:
  • Google Analytics Template App by Curbal
  • The ”Bill Gates Effect” in Google Analytics and how to get rid of it with Power BI
See Also:
  • AVERAGEX
  • DATESINPERIOD
  • STDEV.P
  • STDEV.S
  • STDEVX.P
« Back to Index

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Footer CTA

Join our community of +50,000 professionals

Become a Member

Subscribe to YouTube

About me:

Curbal AB
Badhusgatan 7B
722 15 – Västerås
Sweden

OrgNo: 5569680852 | VAT: SE556968085201

 

Location:

© Copyright 2014-2025 · Curbal AB · All Rights Reserved · Privacy Policy · Terms of Service · Refund Policy · Log In