Actually limiting on the bullet point level is kind of hard, since we don’t which file has how many items. Limiting on the number of files to present can be done using either LIMIT
or date comparisons. So for the last three days given a file.day
which works (which it doesn’t currently in my test vault?!), you should be able to use:
```dataview
LIST item.children.text
FROM #class1
WHERE file.day > (date(today) - dur(3 days))
FLATTEN file.lists as item
WHERE contains(item.tags, "#class1")
```
And if we limit to only the last few files having classes:
LIST item.children.text
FROM #class1
SORT file.mday DESC
LIMIT 2
FLATTEN file.lists as item
WHERE contains(item.tags, "#class1")
You could also try exchanging file.day
with file.mday
or file.cday
for modification time or creation dates instead of the one lifted from the file title (at least that is what file.day
is supposed to do).