Dataview group by tags

I try to create a table with group by tags.
In my files, the yaml section looks like:

---
tags: [tag1, tag2, tag3,...]
---

To display my table I use :

table without id tags,rows.file.link
from ... 
group by tags

My issue is that the “group by function” is displayed by a list of tags and doesn’t group by each individual tag :

Is that how the “group by function” behave or is there a solution to display files by an individual tag?

Hi.
Your tags in each file are a list of tags. So, to group them individually you need to flatten them before group them. Try this

TABLE without id tags,rows.file.link
FROM "folder"
FLATTEN tags
GROUP BY tags
5 Likes

Thank you !! You rock !!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.