Hi,
I have the following query:
TABLE
filter(rows.bullets, (b) => contains(b.tags, "#random")).text as Notes
FROM #journal
FLATTEN file.lists as bullets
WHERE meta(bullets.section).subpath = "Notes" AND file.ctime.year = 2024
GROUP BY file.link as Day
SORT Day DESC
LIMIT 10
which gives he following result:
Question: How can I add the condition to only show days that are not empty. I tried adding the condition length(filter(rows.bullets, (b) => contains(b.tags, "#random")).text) > 0
, but without any luck.