Marcin Borkowski <mb...@mbork.pl> writes: >> If you have interest, going through org-colview.el code would be >> helpful. It is a bit messy and deserves more cleaning and commenting. > > Since org-colview is pretty long, I decided to look into the manual > instead. But I couldn't make the column view to do what I wanted, i.e., > count the TODO, DONE etc. items in various subtrees. (What I want is > more or less "select status, count(*) group by status" for every level-1 > tree.) And I don't see the equivalent of "count()" among the possible > "summary types": https://orgmode.org/manual/Column-attributes.html.
You will likely need to implement a new summary type and add it to org-columns-summary-types -- 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>