Data view - include main task line when a sub task matches query

Things I have tried

Trying to create a Dataview query to list all pending Tasks that are waiting for information that include the text “Task.Waiting for”.

However I only get the query to return the sub task line only.


task 
from #DailyNote OR #Job 
where
icontains(string(text), "task") and 
icontains(string(text), "waiting")

sort text asc


What I’m trying to do

Trying to create a Dataview query to list all pending Tasks that are waiting for information that include the text “Task.Waiting for”.

In regular dataview task query, if you want to see at same time the parent and the child, then you’ll see all the subtasks.
In the case you need to target the text in subtasks: WHERE contains(subtasks.text, "your text")

3 Likes

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