I found this great query (thanks to who ever made it!)
#+BEGIN_QUERY
{:title " Scheduled dates found in any block"
:query [:find (pull ?b [*])
:where
[?b :block/scheduled ?d]
[(not= ?d nil)]]
:collapsed? false}
:result-transform (fn [result]
(sort-by (fn [b]
(get b :block/scheduled))
(fn [a b] (> a b))
result))
#+END_QUERY
This shows ALL SCHEDULED (while other queries I found are all both “TODO + SCHEDULED”)
From here, I want to modify it to show only queries from today to the next 7 days.
Also, is there a way to filter and show all SCHEDULED from the PAGES that are tagged with certain word. For example, I want to show all SCHEDULED from all pages tagged with Research. Note that the tags can be in either page properties or anywhere in that page.