Sure but if you’re doing any time intelligence it’s probably best to have whole years of data in your Dates table…
Alternatively you could use the boolean filter IsAfterToday to stop that behaviour. By placing it as a page or report level filter but you can also use it in measures of course. There is one in the Extended Date table, you can find that here.
However if you’re set on having a Date table that runs until today you could use this M code as Enddate for your calendar M function that will update the Enddate each time the query is executed.
Date.From( DateTime.FixedLocalNow())
I hope this is helpful.