Calculate([SpecialCost],Datesbetween(DimDate[Date],FirstDate(All(DimDate[Date])),LastDate(DimDate[Date])))
This measure is in a pivot table filtered by DimDate[Year] and [MonthShortName].
It gives me a running total, but this "Special Cost" is actuals to date. If I have cost accrued December - March (in my Fact Table), I want March to show the total to date December - March. But April should show 0, graphically I want to have a line graph that stops after March because I do not have actuals. I think I need to use an All Except type of function. Any ideas?
This measure is in a pivot table filtered by DimDate[Year] and [MonthShortName].
It gives me a running total, but this "Special Cost" is actuals to date. If I have cost accrued December - March (in my Fact Table), I want March to show the total to date December - March. But April should show 0, graphically I want to have a line graph that stops after March because I do not have actuals. I think I need to use an All Except type of function. Any ideas?