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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
The_Clam
Helper I
Helper I

How do I take a static number and subtract daily values (or add negative values) until zero?

How do I take a static number and subtract daily values (or add negative values) until zero? Thanks!

Example:

25,000 - -42 (first value listed from bottom) = 25,042

25,042 - 132 (second value listed from bottom) = 24,910

24,910 - 111 (3rd value listed from bottom) = 24,799

 

Static number: 25000

Dates and values:

Column A Column B

6/30/2023 64
6/29/2023 105
6/28/2023 108
6/27/2023 127
6/26/2023 133
6/25/2023 0
6/24/2023 178
6/23/2023 136
6/22/2023 32
6/21/2023 99
6/20/2023 67
6/19/2023 45
6/18/2023 -2
6/17/2023 149
6/16/2023 171
6/15/2023 111
6/14/2023 62
6/13/2023 79
6/12/2023 137
6/11/2023 1
6/10/2023 104
6/9/2023 115
6/8/2023 116
6/7/2023 -16
6/6/2023 43
6/5/2023 176
6/4/2023 2
6/3/2023 111
6/2/2023 132
6/1/2023 -42

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

lbendlin_1-1693068813541.png

 

see attached

 

View solution in original post

Hi,

Please find attached t he PBI file.

Hope this helps.

Ashish_Mathur_0-1693266992867.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

4 REPLIES 4
Ashish_Mathur
Super User
Super User

Hi,

Do you want the result as a calculated column formula or as a measure?


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Measure please.

Hi,

Please find attached t he PBI file.

Hope this helps.

Ashish_Mathur_0-1693266992867.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
lbendlin
Super User
Super User

lbendlin_1-1693068813541.png

 

see attached

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

Top Solution Authors
Top Kudoed Authors