Do you mean being able to create that report on any date (as opposed to, what, once in a blue moon)?
Or do you mean a report comparing year-to-date cumulative distances for the same day and month in different years? If so, the easy way is to generate a Progress Summary report in Garmin Connect online for custom dates from 1/1/2016 to ‹[FONT=Book Antiqua]day[/FONT]›/‹[FONT=Book Antiqua]month[/FONT]›/2016, and another one for custom dates from 1/1/2017 to ‹[FONT=Book Antiqua]day[/FONT]›/‹[FONT=Book Antiqua]month[/FONT]›/2017, then copying-and-pasting the Distance field contents from both of those reports into the report you manually compile to suit your requirements – instead of trying to automate the process.