Can't make a second column for tags on dataview

I’ve created a table in Dataview and want a second column where all the tags for a note go. I’ve managed to create a second column with this code:

table tags
from "place"
sort file.name asc

However, in all columns there’s just: “-”. I understand that frontmatter can be used with Dataview but I already have a lot of notes with tags in them that aren’t in frontmatter which I want to be shown.

1 Like

Hi,
If you Are using tag: (not tags:) in frontmatter, you can try this query

table without id
file.link as "LINK",
tag as "TAGS"
from "PLACE"
sort file.name asc

Otherwise change tag as “TAGS” to tags as “TAGS”

1 Like

Hi thanks for the response! Is there a way to make a query for tags that aren’t in the frontmatter? So say I have multiple tags in different parts of one note is there a Dataview query that can show all these tags?

Sure,
you have modify query like that (for example looking for #tag1, #tag2 and #tag3)

table without id
file.link as "LINK",
tag as "TAGS"
from #tag1 or #tag2 or #tag3 
sort file.name asc

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