Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
jbyroade
Frequent Visitor

Need help with DAX formula for average of past transaction totals by day of month

My date table includes a column for [Previous 15 Days].  I'm filtering it for TRUE, giving me the last 15 days of data.  I have measures that show me my transaction totals for each of those 15 days as well as a cumulative total.

I want to create a new measure that will show the 12-month average for that day of the month.  I'm not sure how to write it.  If it helps, I do have a [Day Number] field on my date table.

3 REPLIES 3
Anonymous
Not applicable

This isn't exactly what I'm looking for.  I'd like to average out the specific days of the month.  For example, the last twelve 20th day of the month.  (1/20, 2/20, 3/20....)

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.