emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: org-clock-report on headings and subheadings or for the whole file?


From: Ihor Radchenko
Subject: Re: org-clock-report on headings and subheadings or for the whole file?
Date: Sun, 13 Nov 2022 05:01:02 +0000

Uwe Brauer <oub@mat.ucm.es> writes:

> I just started to use logbooks and clocks. One of my org files looks
> like this
>
> * TODO Condition about symmetry  
>   :LOGBOOK:
>   CLOCK: [2022-11-11 16:40]--[2022-11-11 17:32] =>  0:52
>   CLOCK: [2022-11-11 13:58]--[2022-11-11 14:05] =>  0:07
>   CLOCK: [2022-11-11 11:22]--[2022-11-11 11:27] =>  0:05
>   CLOCK: [2022-11-11 09:55]--[2022-11-11 11:21] =>  1:26
>   :END:
>
>
> * TODO $A^0$ condition
>   :LOGBOOK:
>   CLOCK: [2022-11-11 17:40]--[2022-11-11 17:43] =>  0:03
>   :END:
>
> Now org-clock-report inserts a table for the lookbook of each heading.
>
>
>     1. Either I can make one of the heading a subheading, and then I
>        would like to now how to make a report for heading and subheading.
>
>     2. Or I leave it as it is and want a report for every heading.

Could you please elaborate what you want to achieve?

I am getting

#+BEGIN: clocktable :scope file :maxlevel 2
#+CAPTION: Clock summary at [2022-11-13 Sun 12:58]
| Headline                 | Time     |
|--------------------------+----------|
| *Total time*               | *2h 33min* |
|--------------------------+----------|
| Condition about symmetry | 2h 30min |
| $A^0$ condition           | 0h 3min  |
#+END:

with Total time aggregating all the clock entries.
Isn't it what you want?

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]