Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
76 | |
73 | |
42 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
48 | |
42 |