March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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.
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] )
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] )
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
133 | |
91 | |
88 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
72 | |
68 |