hey, i have this dataview in obsidian [code] can i do something for it to show only…
Jump to turn (7)
- 1hey, i have this dataview in obsidian can i do something for it to show only fil
- 2thanks
- 3well, i wanna sort by tags and then file name
- 4my tags column is sort of cutting the tags because of the margins or whatever, c
- 5nothing happened
- 6nothing again
- 7fixed, it was my theme now take this code a.tag { border-radius: 4px !important;
- User
hey, i have this dataview in obsidian
dataviewTABLE join(file.tags, " ") AS tags FROM -"Journal" AND -"Kanban" AND -"Templates" SORT file.name asccan i do something for it to show only files that have tags in it
- Assistant
Yes! In Dataview, you can filter to show only files that have tags by checking if
file.tagsis not empty.You can modify your query like this:
dataviewTABLE join(file.tags, " ") AS tags FROM -"Journal" AND -"Kanban" AND -"Templates" WHERE length(file.tags) > 0 SORT file.name ascExplanation:
length(file.tags) > 0ensures only files where the tags list isn't empty are included.
This will exclude files without any tags. Let me know if you want it to match any other specific criteria!