The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
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:
Model:
Result:
Measures:
Day Total = SUM( Data[Value] )
Previous Day Total = CALCULATE( [Day Total] , PREVIOUSDAY( 'Date'[Date] ) )
Delta Previous Day = Data[Day Total] - [Previous Day Total]