How can I obtain this value?
Is it possible to obtain the sum of the column “Duration” in dataview?
Is there an alternative approach to achieving this?
Hi Rishi,
thank you for making me discover this interesting plugin. I’m sure I’ll use it in many contexts!
Unfortunately, it seems to works only on daily notes, so I think it’s not able to solve my current problem. (Each task has its own note, and dataview tables are rendered on project notes)
Where did you get this from? In the documentation, I found this,
Providing parameters 'searchType ’ and 'searchTarget ’ is the minimum requirement for a successful data collection. The value of the key 'searchType ’ can be 'tag ', 'frontmatter ', 'wiki ', 'dvField ', 'table ', or 'text ’ and the cooresponding 'searchTarget ’ should be provided according to the specified type.
As you can see from the table too, it can search the entire vault using tags or front matter or any other fields even arbitrary text. Perhaps, download the examples and test a bit to explore it more? Good luck!
Edit: My bad, the docs also mention helps you do tracking in daily notes and represent the data comprehensively. in the very first line which I missed. I haven’t used the plugin much yet but I had seen the examples and some of them had folder: diary while others had folder: / which makes me think it should work with any folder. I should do more exploring perhaps.
Edit2: This setting for the plugin makes it clear that we can use any folder and it’s probably only the doc wording that’s slightly confusing.
From Tracker version 1.6,
we are not limited to work on daily notes (files named by dates) anymore.
Any collected dates information can be used as x values.
And with the output type ‘summary’, we can use template variable {{sum}} to get the summation of all duration distributed in notes.