Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! 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
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.