Hello,
I’m trying to recreate my current workflow for Task management (todoist) + Time Tracking (toggl) in obsidian.
I created a template for tasks like this:
---
tag: tasks
---
# Test task
Project:: [[projectname]]
Client:: [[clientname]]
Status:: Active
Label::
Priority::
Due Date::
Completed:: [[2021-05-26]]
Duration:: 1h
Notes::
And then I can list tasks with this code:
```dataview
table Completed, Priority, Project
from #tasks
where project = [[projectname]]
```
With dataview I’m able to create different tables for available, upcoming, completed tasks, etc etc, and I’m quite satisfied with the result.
However, I can not get a feature essential for time tracking: the sum of hours.
Example:
|File |Completed |Duration|Project |
|---------|----------|--------|--------------|
|Test task|2021-05-22|1 hours |projectname |
|Testtask2|2021-05-22|12 hours|projectname |
Total: 13 hours
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?
Thank you and have a nice day 