Dataview help with tags

I am trying to create a query that gives me all of the notes and nested notes with the tag
#on

This is what my dataview shows. (I do have the 3 tick marks closing it too)

```dataview
TABLE Status, Tag as Topic
FROM #on
SORT Tag asc, Status asc, file.name asc
GROUP by Tag

I have one note tagged as #on/self, that should theoretically show up, here is the metadata for that note

<< [[Me MOC]]
Tag:: #on/self
Creation Date:: [[2022-02-22]]
Source:: [[LYT Warmup 3]], [[Francisco Bricio Showcase]]
Status:: Curate
Relevant:: 

Not sure what is going on or why it wont show in the list. Please help

Hi,
I’m not sure what’s your goal because I don’t know what is your desired output.
Please give us a mockup of the wanted output and explain why you need to use the command group by.
And try this:

```dataview
TABLE WITHOUT ID rows.file.link AS File, rows.Status as Status, Tag as Topic
FROM #on
SORT Tag asc, Status asc, file.name asc
GROUP by Tag
```

The query was returning 0 entries when clearly it should have. I reopened my vault and it populated

1 Like