Dataview: Every row during operation 'where' failed with an error; first 3:
- Operator '-' is not supported for 'null' and 'date
- Operator '-' is not supported for 'string' and 'date
- Operator '-' is not supported for 'null' and 'date
Perhaps the issue is in the way you input the date format.
I’m not sure about it, but if you use deadline: "2021-10-01" in frontmatter field, I think dataview is able to read it as a date format. But if you use deadline:: "2021-10-01" as an inline field, I think dataview read it as a string (because " ") not as a date.
Try to change in one or two notes the inline date format, removing " ", and test the query again.
every interesting, can dataview recognize such time duration too? I want to make a field for it and filter the results by it too. can i make it realize it is time?