emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bill Harris <wsharris13@gmail.com>
To: emacs-orgmode@gnu.org
Subject: How do I make org-mode columnview show all file results?
Date: Wed, 12 Mar 2014 10:28:31 -0700	[thread overview]
Message-ID: <CAOBquGqnQpR3F3HianU4Fvm7BuAminh45=9pwx75C7chFjDFDg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2759 bytes --]

I'm trying to create a set of files that describe project data and have a
column view block in a summary file, but the columnview is only picking up
one project, and I need it to pick up all.

P1.org and P2.org are two sample project files, and MasterP.org is the
summary file.

P1.org:

#+COLUMNS: %15PROJ(Project) %35ITEM(Task) %Start %End %8Effort{+} %TODO

* Tasks
  :PROPERTIES:
  :ID:       simple
  :PROJ:     P1
  :END:

** TODO Phase 1                             :testbed:
   :PROPERTIES:
   :End:      [2014-03-19 Wed]
   :Start:    [2014-03-11 Tue]
   :END:
** TODO Phase 2                             :testbed:
   :PROPERTIES:
   :Start:    [2014-03-20 Tue]
   :Effort:   32h
   :End:      [2014-04-01 Tue]
   :END:
** TODO Phase 3                             :testbed:
   :PROPERTIES:
   :Start:    [2014-04-02 Fri]
   :Effort:   20h
   :End:      [2014-04-11 Fri]
   :END:

P2.org:

#+COLUMNS: %15PROJ(Project) %35ITEM(Task) %Start %End %8Effort{+} %TODO

* Tasks
  :PROPERTIES:
  :ID:       simple
  :PROJ:     P2
  :END:

** TODO Phase A                             :testbed:
   :PROPERTIES:
   :Start:    [2014-03-24 Mon]
   :Effort:   10h
   :End:      [2014-03-24 Mon]
   :END:
** TODO Phase B                             :testbed:
   :PROPERTIES:
   :Start:    [2014-04-23 Wed]
   :Effort:   10h
   :End:      [2014-04-23 Wed]
   :END:

** TODO Phase C                             :testbed:
   :PROPERTIES:
   :Start:    [2014-05-13 Tue]
   :Effort:   10h
   :End:      [2014-05-13 Tue]
   :END:

MasterP.org:

When I execute MasterP.org with C-c C-c, I get:

#+COLUMNS: %15PROJ(Project) %35ITEM(Task) %Start %End %8Effort{+} %TODO

* Table
#+BEGIN: columnview :hlines 1 :id "simple"
| Project | Task                 | Start            | End
| Effort | TODO |
|---------+----------------------+------------------+------------------+--------+------|
| P2      | * Tasks              |                  |
| 30.0   |      |
|         | ** Phase A :testbed: | [2014-03-24 Mon] | [2014-03-24 Mon]
| 10h    | TODO |
|         | ** Phase B :testbed: | [2014-04-23 Wed] | [2014-04-23 Wed]
| 10h    | TODO |
|         | ** Phase C :testbed: | [2014-05-13 Tue] | [2014-05-13 Tue]
| 10h    | TODO |
#+END:

I want to see the data for P1, too, with the total effort at least being
summed by project. If I could also get the total effort across projects, so
much the better!

What do I need to change?

I discovered it works if I have unique :id entries for P1.org and P2.org
and then create two tables in MasterP.org. While that could work, it does
lead to two refinements to the question: how can I merge the two tables,
and is there a way to do it without distinct :id entries?

Thanks,

Bill

-- 
Bill Harris
http://facilitatedsystems.com/weblog/

[-- Attachment #2: Type: text/html, Size: 8351 bytes --]

                 reply	other threads:[~2014-03-12 17:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOBquGqnQpR3F3HianU4Fvm7BuAminh45=9pwx75C7chFjDFDg@mail.gmail.com' \
    --to=wsharris13@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).