This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Greetings,
I need help with a dax cumulative formula that stops acumulating based on a date.
I have some activities, and need them to cumulate through tha date they been created ti'll the day they where finished. On the current weeknum only be shown the activities that were created or not finished from the past weeks.
This image is some tests I'm working on, but can't figure a way to stop cumulating only the finished activities.
The green bar is the sum of created activies hours, and the blue is the cumulative
Hi @crsjunior ,
What do you mean by stopping cumulating only the finished activities? Doesn't the green bar already exclude finished activities?
Best Regards,
Winniz
@crsjunior , you can top based on table date
example
Cumm Sales =
var _max = maxx(allselected(Sales), Sales[Date])
return
CALCULATE(SUM(Sales[Sales Amount]),filter(allselected('Date'),'Date'[date] <=max('Date'[date]) && ,'Date'[date] <=_max ))
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 33 | |
| 31 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 66 | |
| 55 | |
| 31 | |
| 26 | |
| 23 |