~ [[Home Pro]] > [!calendar] [[Days]] | [[Records]] | [[Reviews]] Below is your amazing Calendar Activity Log (CAL) below. It compiles any note in all Calendar subfolders if it has a name with the date like `YYYY-MM-DD`. ```dataview TABLE WITHOUT ID choice(contains(file.path, "/Days/"), "— " + file.link, choice(contains(file.path, "Calendar/Records/Events/"), "🎪 " + file.link, choice(type = "record" AND record-type = "idea", "💡 " + file.link, choice(contains(file.path, "Calendar/Records/Logs"), "🪵 " + file.link, choice(type = "record" AND record-type = "meeting", "☎️ " + file.link, choice(type = "record" AND record-type = "nice-thing", "🌈 " + file.link, choice(type = "review", "🔍 " + file.link, file.link))))))) as "Calendar Note", type as "Parent Folder" WHERE regextest("\\d{4}-\\d{2}-\\d{2}", file.name) WHERE contains(list("daily-note","record","review"), type) SORT regexreplace(file.name, ".*?(\\d{4}-\\d{2}-\\d{2}).*", "$1") DESC LIMIT 77 ``` --- If you use emojis in your filenames, like I do, then you'll want to use this dataview for the Calendar Activity Log (CAL). It won't magically render emojis to the front of some of the records. ``` TABLE WITHOUT ID choice( contains(file.path, "/Days/"), "— " + file.link, file.link ) as "Record", regexreplace(file.path, ".*/([^/]+)/[^/]+quot;, "$1") as "Parent Folder" FROM "Calendar" WHERE regextest("\\d{4}-\\d{2}-\\d{2}", file.name) SORT regexreplace(file.name, ".*?(\\d{4}-\\d{2}-\\d{2}).*", "$1") DESC LIMIT 35 ```