Forum Discussion
ThomasT
6 years agoFrequent Visitor
Running Total past current date
Hi Power BI Users, Below is a sample table visual, where all attributes are Measures: Actuals = Sum(Actuals) Burn Rate Avg = Avg of last 6 months Burn Rate EAC = If Date<Today, Actuals,Burn Ra...
az38
Community Champion
6 years agoHi ThomasT
whats your current statement?
it should be smth like
measure =
var _curDate = MAX(Table[Date])
RETURN
CALCULATE(SUM(Table[EAC]), Table[Date] <= _curDate)ThomasT
6 years agoFrequent Visitor
I gave the DAX formual a try and it is returning total which begins several years in the past. I want the Jan figure to be starting from the current year and do a running total from that point
- v-xicai6 years ago
Community Support
Hi ThomasT ,
You may create measure like DAX below.
fins_Running_Burn = CALCULATE ( SUM ( Table1[fins_Burn_EAC] ), FILTER ( ALLSELECTED ( Table1 ), YEAR ( Table1[Date] ) = YEAR ( MAX ( Table1[Date] ) ) && MONTH ( Table1[Date] ) <= MONTH ( MAX ( Table1[Date] ) ) ) )Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- ThomasT6 years agoFrequent Visitor
Thank for the reply.
If you see my table for the months of June to December, it is the same. Why is this?
Is there a way to make the running total to apply for these months as well?