When I break it down by month the grand total shows the correct prior month spend which is 1580500 but it deletes the month of January and attributes the wrong YTD spend number for July. When I exclude the month then it appears that YTD spend is = YTD prior month spend which is not true.
YTD Prior month spend should be 1580500. What Dax measure can I write to show this?
The chart on the left shows correct YTD numbers, the chart on the right was my attempt to calculate the YTD prior month numbers