What I’m trying to do
I have last one year notes in my vault. When I create today’s note, I would like to display the summary of the day last year captured as log:: with an additional tag as #log/dailyreview
in my daily note, I would like to see the summary of last year same date recorded as log::
Things I have tried
I tried this query, but brings no result although the file from last year exists.
I tried the below dataview query, but the query does not fetch the last year note log:: details
LIST WITHOUT ID "[" + file.name + "] " + this.log
FROM "foldername/10 Daily"
WHERE
file.name = replace(this.file.name, string(this.file.day.year), string(this.file.day.year - 1))
AND contains(file.tags, "#log/dailyreview")