emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Calculated Properties & Column View Totals
@ 2012-03-15 20:38 Russell Adams
  0 siblings, 0 replies; only message in thread
From: Russell Adams @ 2012-03-15 20:38 UTC (permalink / raw)
  To: emacs-orgmode

I was moving my budget into Org, and while trying to make it work via
column view and properties I ran into two major impediments.

First, properties can't be calculated from one another ala spreadsheet
or elisp (ie: Property C = Property A + Property B). Thus I had to add
conversion to a dynamic block capturing the column view as formulas.

Second, though column view and captured columns support totaling by
tree hierarchy (ie: parent shows sum of children), I can't add a total
row to the bottom of the dynamic blocks that is preserved across

Here's a sample:

* Summaries

#+BEGIN: columnview :hlines 3 :id "Budget"
| ITEM                        | VENDOR | DUE | FREQ |  AMOUNT | BIMONTHLY | MONTHLY |    YEARLY |
| *** Optional                |        |     |      | -250.00 |   -250.00 | -250.00 |   -250.00 |
| **** TODO Russell Fun Money |        |   1 |  0.5 | -250.00 |   -250.00 | -500.00 |  -6000.00 |
#+TBLFM: $6=$5*(1/$4)/2;%.2f::$7=$5*(1/$4);%.2f::$8=$5*(1/$4)*12;%.2f

No entry has a BIMONTHLY, MONTHLY, or YEARLY property. I used that to
create the columns for my formulas so that I can populate those
numbers. The parent has the wrong sum because it is using the property
values, not summing from the spreadsheet calculation.

* Budget Items
  :ID:       Budget

** Expenses
   :FREQ:    1

*** Optional

**** TODO Russell Fun Money
   :DUE:      1
   :AMOUNT:   -250.00
   :FREQ:     0.5

I've reverted to using spreadsheet with hyperlinks for items so I can
keep notes... I really thought that column view would be superior

Perhaps this will inspire some new features.


Russell Adams                            RLAdams@AdamsInfoServ.com

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-15 20:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-15 20:38 Calculated Properties & Column View Totals Russell Adams

Code repositories for project(s) associated with this inbox:


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).