Hi Eric,

The addition of the :conds parameter to org-collector, the first
example you provided (the one that zeroed out the amount for all items
not "food") now results in 1 rather than 0 in the headings. (Example
below.)

Thanks for taking a look at this.

Best,

Matt

* Example
#+BEGIN: propview :id "december" :cols (ITEM amount spendtype (if (string= 
spendtype "food") amount 0))
| "ITEM"                           | "amount" | "spendtype" | "(if (string= 
spendtype \"food\") amount 0)" |
|----------------------------------+----------+-------------+----------------------------------------------|
| "Week One"                       |        1 | 1           |                   
                         1 |
| "Grocery Store [2008-12-01 Mon]" |    56.77 | "food"      |                   
                     56.77 |
| "Athletic club [2008-12-02 Tue]" |     75.0 | "health"    |                   
                         0 |
| "Week Two "                      |        1 | 1           |                   
                         1 |
| "Restaurant [2008-12-08 Mon]"    |    30.67 | "food"      |                   
                     30.67 |
|----------------------------------+----------+-------------+----------------------------------------------|
|                                  |          |             |                   
                           |
#+END:

** December Spending
   :PROPERTIES:
   :ID:       december
   :END:

*** Week One
**** Grocery Store [2008-12-01 Mon]
     :PROPERTIES:
     :amount: 56.77
     :spendtype: food
     :END:
**** Athletic club [2008-12-02 Tue]
     :PROPERTIES:
     :amount: 75.00
     :spendtype: health
     :END:
*** Week Two 
**** Restaurant [2008-12-08 Mon]
     :PROPERTIES:
     :amount: 30.67
     :spendtype: food
     :END:



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to