Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Cumulative Total

Hi guys,

 

I'm in trouble to create a measure "cumulative total" that cumulates the number of employees in my department. If someone leaves I want the number to go down. In the following picture I created a test table to see if it works.

 

testv01.png

 

 

Now I want a column next to it with the following numbers:

 

1

2

1

2

1

2

1

 

 

 

I already tried the formula described on

https://www.daxpatterns.com/cumulative-total/

but it doesn't work for me. Can someone help me please?

 

Thanks in advance!

 

 

 

 

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi fviz,

See this image and tell us if works for you (I used a similar file I had)

 

Zähler.JPG

 

View solution in original post

v-chuncz-msft
Community Support
Community Support

@Anonymous,

 

Add an index column in Query Editor and use Quick measure Running total.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@Anonymous,

 

Add an index column in Query Editor and use Quick measure Running total.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi fviz,

See this image and tell us if works for you (I used a similar file I had)

 

Zähler.JPG

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.