Dataview plugin snippet showcase

Hi all. I’m trying to create a way to list notes whose date field is greater than a duration, where the duration is another field value.

My YAML looks like this:

project:
    name: "my project"
    review_schedule: 1 week
    last_reviewed: 2021-04-01

With my desired query looking something like this


```dataview
TABLE project.name WHERE date(today) - project.last_reviewed >= dur( project.review_schedule )

It works if I harcode dur( 1 week ) but doesn’t seem to convert project.review_schedule to the equivalent.

Any suggestions?