Tag leaf

Hi

What I’m trying to do

I have a breakdown of TAG ( 3 to 5 levels).

I would like to generate a table with all Tag leaf organized by the upper Tag.

Things I have tried

TABLE file.mtime AS “Modified” , filter(file.tags, (t) =>!econtains(file.tags, t + “/”)) AS “Tags Leaf” FROM #TAG_CIBLE SORT file.mtime DESC

And the result is an empty table - no error

The syntax is:

filter(file.tags, (t) => !contains(t, "/"))
1 Like