UPDATE: My bad, I borked. I missed the fact that YAML demands the metadata section to be at the very top. However, I have two problems with dataview.
The minor one is that the following doesnāt work for me:
TASK
FROM "tasks"
WHERE (due = date(today)) AND !completed
As you might have guessed, Iām trying to show all non-completed tasks for Today. It returns zero results.
However, my major problem, that Iāve also mentioned below, is that dataview doesnāt work for me at-all on Android. Is it compatible only with the desktop version of Obsidian? If not, any ideas how to troubleshoot/fix the problem?
Feel free to ignore everything below. Iām leaving it here for anyone who wants to laugh at my absent-mindedness.
For some reason Iām not able to make the boolean logic work with dataview in my setup. Iād appreciate some help, since Iāve already spent hours trying to solve the problem and failing.
Iām trying a task management setup where Iāll keep all task-related notes in a folder (named ātasksā, in Obsidian Vaultās root). Then, I want to āpullā all tasks from there and have them listed in a single note, named ā010_Tasksā. My goal is to have this page, with all my tasks, easily accessible on both my PC and Android smartphone.
Each note with tasks might contain one or multiple tasks. Its structure goes like this:
# Title Like X-Project Tasks
%%
- - -
**Link:** [[Main_Project_Page]]
**Tags:** #maintag/subtag
**Time:** 15:30 Friday, 01-10-21
**Date:** 2021-10-02
**Notes:**
Anything goes here...
- - -
%%
- [ ] Task 1
- [ ] Task 2
- [ ] Maybe a 3rd one, too!
My first problemās on the PC. Iām trying to create some dataview rules that will pull data from all files in the same folder (ātasksā), but only present the tasks that match a particular tag. My latest failed attempt is this:
TASK
FROM "tasks"
WHERE Tags = "#maintag/subtag"
ā¦and, ideally, there should also be a ā!completedā somewhere, to hide completed tasks. I havenāt even reached that point yet. The output from the above shows nothing. Iāve tried enclosing the Tags = ā#maintag/subtagā in parentheses. Nothing. What gives?
Also, on mobile itās even worse: dataview seems to not be working at all. A plainā¦
TASK FROM "tasks" WHERE !completed
ā¦that does work on my desktop PC shows nothing on my smartphone.
So⦠Any ideas on what Iām doing wrong? Iām floored by what youāve all achieved, and I canāt even proceed to the first step!