Variable (complex?) dataview query

What I’m trying to do

I want to modify this query:

TABLE file.name, file.created, file.modified
From #frozenshoulder
SORT file.name ASC

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 “symptoms.md”) 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('"Symptoms.md"').lines().first().trim();
TABLE file.name, file.created, file.modified
From selectedTag
SORT file.name ASC

which didn’t work

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