obsidian-dataview: dv table displaying due dates doesn't pick up due dates in tasks

What happened?

I have dataview due dates (formatted as (due:: 2022-07-11)) everywhere: frontmatter, tasks, within notes. I discovered today that all due dates within tasks don’t appear in my dataview tables that display due dates.

My guess is that it has something to do with inline fields being tied to a note title and tasks being tied to, well, a task I guess.

If this is the way it goes, is there a way to get a list or table of all due dates regardless of where they appear (frontmatter, note, task)?

Example file: due date does not appear in my table

- [ ] this is (due:: 2022-07-11)
- [ ] more tasks

due date does appear

this is (due:: 2022-07-11)
- [ ] more tasks

DQL

table (due.month + "-" + due.day) as "due date"
WHERE (striptime(due) - striptime(date(now)) <= dur(30 days)) and (striptime(due) - striptime(date(now)) >= dur(1 days))
sort due

JS

No response

Dataview Version

0.5.36

Obsidian Version

0.14.15

OS

Windows

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 24 (2 by maintainers)

Most upvoted comments

Yeah, that’s what I doing now. My only issue, really, is that there may be others who think (like I did) that looking for a due date means looking for ALL due dates. Users might not know they need separate queries for the different formats, and may miss important due dates because of it. I suppose one could just stick to one format, but dataview is so damned convenient allowing us to stick in due dates all over the place no matter where we are in our vault 😉