Hi there! Let me first introduce a test case.

Example content:

===
* DONE Task A                                                          :tag1:
  CLOCK: [2016-01-09 Sat 04:36]--[2016-01-09 Sat 05:20] =>  0:44
* DONE Task B                                                          :tag2:
  CLOCK: [2016-01-09 Sat 05:20]--[2016-01-09 Sat 05:37] =>  0:17

#+BEGIN: clocktable :maxlevel 2 :scope file :formula % :properties ("TAGS")
#+END:
===

After running org-dblock-update, this was the result (note the % column):

===
#+BEGIN: clocktable :maxlevel 2 :scope file :formula % :properties ("TAGS")
#+CAPTION: Clock summary at [2016-01-09 Sat 05:49]
| TAGS   | Headline     |   Time |   % |
|--------+--------------+--------+-----|
|        | *Total time* | *1:01* | 0.0 |
|--------+--------------+--------+-----|
| :tag1: | DONE Task A  |   0:44 | 0.0 |
| :tag2: | DONE Task B  |   0:17 | 0.0 |
#+TBLFM: $4='(org-clock-time% @2$2 $2..$3);%.1f
#+END:
===

If I remove the :properties parameters the percentage values are correct.

I fixed this locally by adding this line both when computing tcol and pcol 
around line 2648 of org-clock.el

        (if properties (length properties) 0)

Best regards,

Fernando.

Reply via email to