- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Daily Average In a Matrix
I am trying to create a daily average in a matrix where the denominator dynamically updates to the number of days in the month based on the filter context of that row's day. So, in the matrix below, there would be a daily average column at the end that would be different each day based on the previous day's billings and an additional day being added to the denominator.
The calculation would reset at the beginning of each month. I think it is similar to the following. Obviously, this is a rolling 14 day average.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

I'd recommend using AVERAGE or AVERAGEX instead of trying to calculate the denominator.
For example, this averages over each date in the current month up to the current one:
MTD Daily Average =
AVERAGEX ( DATESMTD ( 'Calendar'[Date] ), [Billing Total] )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

I'd recommend using AVERAGE or AVERAGEX instead of trying to calculate the denominator.
For example, this averages over each date in the current month up to the current one:
MTD Daily Average =
AVERAGEX ( DATESMTD ( 'Calendar'[Date] ), [Billing Total] )

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
11-06-2024 10:30 AM | |||
11-22-2024 09:04 AM | |||
05-09-2024 08:00 AM | |||
02-17-2023 11:42 AM | |||
03-11-2022 01:24 AM |
User | Count |
---|---|
140 | |
110 | |
81 | |
60 | |
46 |