up::[[obsidian plugin dataview]] title::"cound tasks completed in a file" #s/obsidian --- - simple solution : - `= length(filter(this.file.tasks.completed, (t) => t = true))` tasks completed - with html styling : - `= ""` - with minimal's `` tag : - `= "" + "
" + round((length(filter(this.file.tasks.completed, (t) => t = true)) / length(this.file.tasks)) * 100) + "% completed"` # Tasks - [ ] foo - [x] bar - [ ] foobar - [ ] thing - [x] those - [x] then - [ ] therefore