Hi Sash

If you want to count the number of tiddlers that fulfil some criteria then
you can use the <$count> widget. There is no way (yet) to arithmetically
sum the values of a field over a set of tiddlers - there's a ticket here:

https://github.com/Jermolene/TiddlyWiki5/issues/254

Best wishes

Jeremy



On Tue, Apr 22, 2014 at 9:03 PM, Alberto Molina <[email protected]>wrote:

> Hi Shash,
>
>
> Can you please help me with that. An example would really help
>
>
> In order to count the number of tiddlers that have a determinate field:
>
> <$count filter="[has[myFieldName]!myFieldName[]]"/> tiddlers with the
> field "myFieldName"
>
> Where
>
>    - *has[myFieldName]* selects the tiddlers that have the field
>    "myFieldName"
>    - *!myFieldName[]* selects the tiddlers whose field "myFieldName" is
>    not empty.
>
> And if you need a subset of these tiddlers that have the tag "myTag":
>
> <$count filter="[has[myFieldName]!myFieldName[]tag[myTag]]"/>
>
> And to show a list of them:
>
> <$list filter="[has[myFieldName]!myFieldName[]]"/>
>
>
> I hope this is helpful.
>
> Alberto
>
>  --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to