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

Only incremental values - Calculate between dates

Hi Guys,

 

this might look simple.. but dk how to do it

this is the information:

 

 

Capture.PNG

 

 

So.. i got the Cumulative Total using this function:

 

CumulativeTotal = CALCULATE(
                      SUM(vnxcritical[Used Space GB]),
                      FILTER(ALL(Datesonly[Date]),
                          Datesonly[Date] <= MAX(Datesonly[Date])))

 

But what i need is to get the differences between the dates, in the first date and the second the difference will be of 210. I need to get another column with that information. know the formula to do that?

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

 

Effectively what you want is the value for that day only.  Do you get the correct answer with this?

 

=SUM(vnxcritical[Used Space GB])

 


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,

 

Effectively what you want is the value for that day only.  Do you get the correct answer with this?

 

=SUM(vnxcritical[Used Space GB])

 


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

I have a Quick Measure here that might help, it is a very similar issue:

 

https://community.powerbi.com/t5/Quick-Measures-Gallery/Periodic-Revenue-Reverse-YTD/m-p/373185

 

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Hey, thanks for help.

 

I try your solution.. like this:

 

123.PNG12345.PNG3234.PNG

 

don't know why is that number 47753154322 it's in all the columns. it's strange. do you have any clue ? :s

Anonymous
Not applicable

Hi @Anonymous

 

Greg_Deckler's solution is a measure, why you direct input measure formula into a calculated column? 

Calculated Columns and Measures in DAX


Regards,

Xiaoxin Sheng

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.