Search content in bullets under specific tags?

What I’m trying to do

I’m not sure exactly how to ask for what I am trying to acheive, so if it this answer already exists, I haven’t been able to find it. What I am looking to do is create a search for only content that is subordinate to a specific tag that exists in the top level bullet of a collapsable bulleted list.

As an example, let’s say I have this tag sprinkled around my vault in various daily pages and other notes pages. How do I search for things that JUST fall under this tag without tagging every line? Is there a way to look at the tag and only search item’s below it?

Screenshot 2024-06-13 at 2.43.25 PM

Things I have tried

Not much! lol I’m not sure where to start. I tried playing with the section() search and didn’t have any success. I couldn’t find any search operates for searching subordinate bullets.

I am trying to learn dataview as part of this adventure. I at least figured out how to get a list of child bullets… but I haven’t yet figured out how to only show the child bullet if it has specific text (#test_topic) in the parent…

  • #test_topic

    • Item #1
    • Item #2
    • Item #3
  • #test_2

    • Item #1
    • Item #2
    • Item #3
Table without ID
file.lists.children.text
WHERE file.path = this.file.path

To get you started you’ll need to focus on files with that tag, and then expand (or rather flatten) the lists of this file. Locate the item with your tag, and then look at the item of that tag.

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