Situation:
I wish to use a Running Total, but using a date from a related table.
Running Total =
CALCULATE(
SUM('CostTable'[Amount]),
FILTER(
ALLSELECTED(DATES[Date]),
ISONORAFTER(DATES[Date], MAX(DATES[Date]), DESC)
)
)
With the page filtered to the current year, this Running Total still includes amounts from previous years.
The formula works correctly using the date within the Cost Table, but not in the related Dates table. The two tables are related on the Date field.
What am I doing wrong?