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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Pquinlan21
Frequent Visitor

Creating a new column with the value from the previous days values.

Pquinlan21_0-1701716361635.png

 

5 REPLIES 5
Anonymous
Not applicable

Hi @Pquinlan21 ,

Have you solved your problem? If solved please mark the reply in this post which you think is helpful as a solution to help more others facing the same problem to find a solution quickly, thank you very much!

Best Regards,

Xianda Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Pquinlan21
Frequent Visitor

I want to calculate the total for the day by subtracting the previous days total minus the current days total

 

So, you're just looking for a delta from the previous day? I would recommend using a measure for this. 

Yes, I am trying to determine the delta for each day.

 

Sample Data:

CoreyP_0-1701717931823.png

Model:

CoreyP_1-1701717953962.png

Result:

CoreyP_2-1701717980434.png

Measures:

Day Total = SUM( Data[Value] )

Previous Day Total = CALCULATE( [Day Total] , PREVIOUSDAY( 'Date'[Date] ) )

Delta Previous Day = Data[Day Total] - [Previous Day Total]

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.