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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello
I have a question about creating accumulative measures on Power BI
I have a table with different tasks and Assigned date and Completed Date. I have a formula to get the difference (in days) between both dates:
Now I would like to create a different table showing the cumulative in days of the Total process.
Any help, pls? thanks
Solved! Go to Solution.
@romovaro , Assume You want sum till step level sum and avg after that
_DateDiferrence =
VAR
Sum_Date=AverageX( Values('BMPS LOF Report'[Step] ) , Calculate(sumx('BMPS LOF Report','BMPS LOF Report'[TASK_COMPLETED_DATE2]-'BMPS LOF Report'[TASK_ASSIGNED_ON2])))
RETURN
if(sum_Date>=0,Sum_Date,0)
Hi @romovaro
Has your problem been solved ? If it has been solved, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regard
Community Support Team _ Ailsa Tao
@romovaro , Assume You want sum till step level sum and avg after that
_DateDiferrence =
VAR
Sum_Date=AverageX( Values('BMPS LOF Report'[Step] ) , Calculate(sumx('BMPS LOF Report','BMPS LOF Report'[TASK_COMPLETED_DATE2]-'BMPS LOF Report'[TASK_ASSIGNED_ON2])))
RETURN
if(sum_Date>=0,Sum_Date,0)
Hello Amitchandak
I created the new field as you described but it shows 0 in all the steps.
I believe I am doing something wrong
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 59 | |
| 42 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 109 | |
| 101 | |
| 39 | |
| 29 | |
| 29 |