Things I have tried
I’ve made a simple inline formula that calculates a percentage based on tasks I have completed with a special tag (#H/):
$= const setFilter = "#H/"; Math.round(((dv.current().file.tasks.where(t => t.completed).where(t => t.text.includes(setFilter)).length) / (dv.current().file.tasks).where(t => t.text.includes(setFilter)).length) * 100) + "%"
I want to view this in a dataview table but when I make a table with Percentage, it calculates the percentage for the page that the table is in.
What I’m trying to do
I’m trying to see the calculated value for the page that the code is in, not the page from the dv table.