im searching a way to query to get the parent task , if the substask date is not completed and is older than today
today is 26, so i would like to retrieve test task, since i have 1 subtask not completed older than today ([ ] test2⏳2023-06-25)
Things I have tried
TASK
From #qrevisar
WHERE scheduled<date(today) and !completed
the query above dont work, because the test task dont have date, so its always true
tried also contains method, but i didnt find a way to make it work comparing data
You need to go the other way around, find the parent task and filter out unwanted subtasks from the children tasks.
You need to do it this way since dataview knows the childrens, but not the parent. (That is, we know the parent line number, but not the task directly, but we do know the children tasks)