Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi everyone,
How to calculate a cumulative sum based on the date column? For example, how to calculate the Total in the following table?
| Name | Date | amount | Total | |
| A | 1.1 | 1 | 0 | |
| A | 1.2 | 2 | 1 | |
| A | 1.3 | 3 | 3 | =1+2 |
| A | 1.4 | 4 | 6 | =1+2+3 |
Solved! Go to Solution.
Please try this column
Column =
CALCULATE (
SUM ( Table1[amount] ),
FILTER (
ALLEXCEPT ( Table1, Table1[Name] ),
Table1[Date] < EARLIER ( Table1[Date] )
)
)
Please try this column
Column =
CALCULATE (
SUM ( Table1[amount] ),
FILTER (
ALLEXCEPT ( Table1, Table1[Name] ),
Table1[Date] < EARLIER ( Table1[Date] )
)
)
Yes, it works. Thanks.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 49 | |
| 46 | |
| 35 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 88 | |
| 75 | |
| 41 | |
| 26 | |
| 26 |