emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to filter a clock table by property value?
@ 2023-05-08 15:19 Marcin Borkowski
  2023-05-08 15:30 ` Ihor Radchenko
  0 siblings, 1 reply; 4+ messages in thread
From: Marcin Borkowski @ 2023-05-08 15:19 UTC (permalink / raw)
  To: Org-Mode mailing list

Hello Orgers,

I'd like to have a clock table filtered down to items with certain
property having certain value.  I tried

#+BEGIN: clocktable :match "property=\"value\""
#+END

and a few other variants wrt. escaping quotes, but none of them worked.

Is that possible?  If so, how?

TIA,

-- 
Marcin Borkowski
http://mbork.pl


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to filter a clock table by property value?
  2023-05-08 15:19 How to filter a clock table by property value? Marcin Borkowski
@ 2023-05-08 15:30 ` Ihor Radchenko
  2023-05-15 15:08   ` Marcin Borkowski
  0 siblings, 1 reply; 4+ messages in thread
From: Ihor Radchenko @ 2023-05-08 15:30 UTC (permalink / raw)
  To: Marcin Borkowski; +Cc: Org-Mode mailing list

Marcin Borkowski <mbork@mbork.pl> writes:

> #+BEGIN: clocktable :match "property=\"value\""
> #+END

"+property=\"value\""

I just tried #+BEGIN: clocktable :scope subtree :match "+ID=\"Organization\""
and it worked.

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to filter a clock table by property value?
  2023-05-08 15:30 ` Ihor Radchenko
@ 2023-05-15 15:08   ` Marcin Borkowski
  2023-05-22 14:43     ` Nick Dokos
  0 siblings, 1 reply; 4+ messages in thread
From: Marcin Borkowski @ 2023-05-15 15:08 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: Org-Mode mailing list


On 2023-05-08, at 17:30, Ihor Radchenko <yantar92@posteo.net> wrote:

> Marcin Borkowski <mbork@mbork.pl> writes:
>
>> #+BEGIN: clocktable :match "property=\"value\""
>> #+END
>
> "+property=\"value\""
>
> I just tried #+BEGIN: clocktable :scope subtree :match "+ID=\"Organization\""
> and it worked.

Thanks!  Still didn't work, it turned out that I didn't set
`org-use-property-inheritance'.  Then it turned out that I don't even
need the plus sign.

Thanks,

-- 
Marcin Borkowski
http://mbork.pl


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to filter a clock table by property value?
  2023-05-15 15:08   ` Marcin Borkowski
@ 2023-05-22 14:43     ` Nick Dokos
  0 siblings, 0 replies; 4+ messages in thread
From: Nick Dokos @ 2023-05-22 14:43 UTC (permalink / raw)
  To: emacs-orgmode

Marcin Borkowski <mbork@mbork.pl> writes:

> On 2023-05-08, at 17:30, Ihor Radchenko <yantar92@posteo.net> wrote:
>
>> Marcin Borkowski <mbork@mbork.pl> writes:
>>
>>> #+BEGIN: clocktable :match "property=\"value\""
>>> #+END
>>
>> "+property=\"value\""
>>
>> I just tried #+BEGIN: clocktable :scope subtree :match "+ID=\"Organization\""
>> and it worked.
>
> Thanks!  Still didn't work, it turned out that I didn't set
> `org-use-property-inheritance'.  Then it turned out that I don't even
> need the plus sign.
>

The `+' (or `-') sign is needed for tags matching.

(info "(org)Matching Tags and Properties")

-- 
Nick



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-05-22 14:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-08 15:19 How to filter a clock table by property value? Marcin Borkowski
2023-05-08 15:30 ` Ihor Radchenko
2023-05-15 15:08   ` Marcin Borkowski
2023-05-22 14:43     ` Nick Dokos

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