Forum Discussion
diogobraga2
Helper IV
6 years agoRemove values after current date from previous years
The goal is to remove values after current date (most recent in this sample) from previous years for comparison purposes. Any insights?
JarroVGIT
Resident Rockstar
6 years agoIn the MAXX statement, you want to get the MonthDay from the ApplicationCount table.
diogobraga2
Helper IV
6 years agoThanks so much. Still not working, but we are getting close.
This is the calculated field in effect:
Measure =
VAR maxCurrentYear = MAXX(FILTER(application_count, application_count[academic year] = "2019-2020"), application_count[MonthDay])
RETURN
IF(HASONEVALUE('Dates Adj'[Date]) && AVERAGE('Dates Adj'[MonthDay]) > maxCurrentYear,
BLANK(),
application_count[Total Apps])