Things I have tried
What I’m trying to do
I am working on my book library. Sometimes, I have to update my template which then requires me to go back to every book I have added and individually change each item. I was previously using Notion where if I changed my property end-date to completed-date it updates if across all my books files. Or I could move the author to show up before my date. Is there any way to do something like this in Obsidian?
I am trying to make a dataview JS table of my books read. The following table works , but gets all of my books.dv.table(["Cover","Title", "Author", "Date", "Series", "Rating____", ],
dv.pages("#bookhistorical")
.sort(p.finished)
.map(p => ["",
p.file.link,
p.Author,
p.finished,
p["Series"] ? p["Series"] + " #" + p["number-in-series"] : "N/A",
p.Rating
])
)
But when I try to configure it to only show my books that have a bookprogress that equals 100 it breaks. I have read through all of the dataview information to try and make it work, but with no luck. I’ve tried contains, filter, etc. Is there anyone that can help me figure out what I am doing wrong? Here is the new query.
dv.table(["Cover","Title", "Author", "Date", "Series", "Rating____", ],
dv.pages("#bookhistorical").where(p => p["bookprogress"] == 100));
.sort(p.finished)
.map(p => ["",
p.file.link,
p.Author,
p.finished,
p["Series"] ? p["Series"] + " #" + p["number-in-series"] : "N/A",
p.Rating
])
)
Thanks