Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |