Forum Discussion
Lewdis_
1 year agoFrequent Visitor
Running total and reference line
I am trying to build a running total for CY and PY for the month like the graph below. I would also like budget and forecast to be reference lines on the top.
- 1 year ago
solved it with your help and added a filter for current year. Then the following measures
Full year budget (one number) =CALCULATE([Total Budget],DATESINPERIOD(DimDate[Date],DATE(2024,1,01),1,YEAR))Running YTD last year =CALCULATE([Running YTD],SAMEPERIODLASTYEAR(DimDate[Date]))Running YTD =CALCULATE([Total sales],DATESYTD(DimDate[Date]))
Kedar_Pande
Super User
1 year agoCreate measures for: CY Running Total, PY Running Total, Budget, Forecast.
Select a Line Chart and add your Date field to the Axis.
Add CY Running Total and PY Running Total to the Values.
In the Analytics pane, add Constant Lines for both Budget and Forecast.
If this helped, a Kudos 👍 or Solution mark would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn