Variable (complex?) dataview query

What I’m trying to do

I want to modify this query:

TABLE, file.created, file.modified
From #frozenshoulder

which lists all notes that have the tag “frozenshoulder”

into something whereby I can select from a list of possible tags (maybe a simple list of words in a separate note, like “”) and when you select a different symptom you’ll get a different list based on the tag you newly have selected

Things I have tried

searching this forum, asking chat GPT - it suggested this:

let selectedTag = dv.pages('""').lines().first().trim();
TABLE, file.created, file.modified
From selectedTag

which didn’t work

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