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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors