Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi,
I spent a lot of time on this and now I'm looking for help.
I need to summarize lines of an ID. It sounds easy, but the result that I need is a little bit different, and I'm showing it below:
I'm looking for the yellow column. All the others I have.
I tried using SUM, SUMX, CALCULATE, SUMMARIZE, .....
There is anyone with an idea to solve this?
Thanks a lot.
Solved! Go to Solution.
Hi @Anonymous ,
If you want to calculate the column ACUM which you highlight in your image, you could try the steps below.
1. Create the index column in query editor.
2. Create the group index calculated column with dax.
group index =
RANKX (
FILTER ( 'Table', EARLIER ( 'Table'[ID] ) = 'Table'[ID] ),
'Table'[Index],
,
ASC
)
3. Create the measure with the formula below.
Measure =
CALCULATE (
SUM ( 'Table'[STATUS_] ),
FILTER (
ALLEXCEPT ( 'Table', 'Table'[ID] ),
'Table'[group index] <= MAX ( 'Table'[group index] )
)
)
Here is the output.
If you still need help, free to ask.
Best Regards,
Cherry
Hi @Anonymous ,
If you want to calculate the column ACUM which you highlight in your image, you could try the steps below.
1. Create the index column in query editor.
2. Create the group index calculated column with dax.
group index =
RANKX (
FILTER ( 'Table', EARLIER ( 'Table'[ID] ) = 'Table'[ID] ),
'Table'[Index],
,
ASC
)
3. Create the measure with the formula below.
Measure =
CALCULATE (
SUM ( 'Table'[STATUS_] ),
FILTER (
ALLEXCEPT ( 'Table', 'Table'[ID] ),
'Table'[group index] <= MAX ( 'Table'[group index] )
)
)
Here is the output.
If you still need help, free to ask.
Best Regards,
Cherry
Hello @Anonymous
Try this function:
Hi @Anonymous ,
Thanks a lot for so fast answer.
It didn't work.
The TOTAL column has the same value to all rows.
Regards.
sorry brother, i had understood that u need the last value accumulated, but i need a function to sum each value through status =/
Relax and thanks for the attempt.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 23 | |
| 22 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 63 | |
| 44 | |
| 42 | |
| 40 | |
| 40 |