Menu
CoddyTech

Running Total

Part of the Time Intelligence section of Coddy's Power BI journey. Lesson 9 of 17.

A running total adds every date so far, with no restart.

Running Revenue = CALCULATE([Revenue], FILTER(ALL(Dates), Dates[Date] <= MAX(Dates[Date])))

MAX(Dates[Date]) is the row's last day; ALL(Dates) removes the row's date filters; FILTER keeps the dates up to that day.

challenge icon

Challenge

Medium

Write Running Revenue: Revenue over every date up to the end of each row. It is checked for each month of each year.

Try it yourself

Running Revenue =
YearRunning Revenue
2024
2025
Total
Fields
  • Sales
    • Revenue
    • Total Units
    • Customers
  • Products
  • Stores
  • Customers
  • Dates
    • Date
    • Year
    • Quarter
    • Month
    • MonthNumber
    • Weekday
  • Targets
quiz iconTest yourself

This lesson includes a short quiz. Start the lesson to answer it and track your progress.

All lessons in Time Intelligence