How to get list of all files with given tag but not linked from this page

Things I have tried

This code is not a valid dataview query but, as pseudocode, express my intention of listing files with tag not linked by current page.

table file.mday as Modified
from #travel
where file not in [[]]

What I’m trying to do

I’m trying to use dataview to help me creating MOCs by listing notes that are marked with specific tag (e.g. travel) but are not yet linked by this (e.g. MOC_travel ) page.

Anyone knows how to formulate correctly such a query?


You could try something like this:

TABLE file.mday AS Modified FROM #travel
WHERE !contains(file.inlinks,

Good luck!

Works like charm! Thank you.

1 Like

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