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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi, I'm trying to create a Measure to do an incremental sum.
Cost running total in Date =
CALCULATE(
SUM('JobDocs'[Cost]);
FILTER(
ALLSELECTED('JobDocs'[Date]);
ISONORAFTER('JobDocs'[Date]; MAX('JobDocs'[Date]); DESC)
)
)
Somebody can help me?
Thanks
Solved! Go to Solution.
Hi @PBI_User1,
Try this formula please.
Cost running total in Date =
CALCULATE (
SUM ( 'JobDocs'[Cost] );
FILTER ( ALL ( 'JobDocs' ); 'JobDocs'[Date] <= MAX ( 'JobDocs'[Date] ) )
)
Best Regards,
Dale
Hi,
Try this measure
=CALCULATE(SUM('JobDocs'[Cost]),DATESYTD(Calendar[Date],"31/12/"))
Here are the assumptions:
Hope this helps.
Hi @PBI_User1,
Could you please mark the answer as a solution or share your solution?
Best Regards,
Dale
Hi @PBI_User1,
Try this formula please.
Cost running total in Date =
CALCULATE (
SUM ( 'JobDocs'[Cost] );
FILTER ( ALL ( 'JobDocs' ); 'JobDocs'[Date] <= MAX ( 'JobDocs'[Date] ) )
)
Best Regards,
Dale
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |