Forum Discussion
YTD Running Total Chart
Closer to the latter. For the current year (2019), I want to show FY 2020, which runs 7/1/2019 to 6/30/2020. I also want to show Last YTD on the same graph as a different line. My CalendarSubmit table has a column for FY, so:
Date FY
8/1/2019 2020
5/1/2019 2019
Hi Anonymous
Create two measures
CY_YTD-TODAY =
CALCULATE (
TOTALYTD (
[sum cost],
'calendar'[Date],
'calendar'[fiscal year]
= YEAR ( TODAY () ) + 1,
"6/30"
),
FILTER ( 'calendar', 'calendar'[Date] <= TODAY () )
)
LY_YTD = TOTALYTD([sum cost],'calendar'[Date],'calendar'[fiscal year]=YEAR(TODAY()),"6/30")
Maggie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous6 years agoNot applicable
I'm getting closer, but it's still not right.
I'd like both lines to start on the graph in July 2019, so I can direclty see how this year is doing compared to last year by the same point in the year.
I set the filter on the graph to relative date filtering for dates in this year, but that leaves the tail on the left. I want the graph to start on July 1 of whatever current fiscal year we are in (currently 2020).
Thanks!