Forum Discussion
Marguie
- 2 years ago
In the end I did it instead of with a measure, with a calculated column Monthly Goal = VAR Date = My Table[Date] RETURN CALCULATE(FIRSTNONBLANK(Goals[Goal],Goals[Goal] ), FILTER(Goals, (date > Goals[Date] & date <= EOMONTH(Goals[Date], 0))))
In the end I did it instead of with a measure, with a calculated column Monthly Goal = VAR Date = My Table[Date] RETURN CALCULATE(FIRSTNONBLANK(Goals[Goal],Goals[Goal] ), FILTER(Goals, (date > Goals[Date] & date <= EOMONTH(Goals[Date], 0))))
Hi Syndicate_Admin ,
good to hear you managed to solve the issue. I'm not sure it's the best way to solve this, but if it works for you, then by all means.
Be wary of circular dependencies though when using calculate in calculated columns!
Avoiding circular dependency errors in DAX - SQLBI
Cheers