Watt, I have it working in an inelegant way. It only works if the values are 0 and 1 because summing all ones is also a count of all one's
I will post here without explanation other than unless I use wikify the split[ ]sum[] will not work \define all-values() <$list filter="[[Data]indexes[]]" variable=item> <$view tiddler=Data index=<<item>>/> </$list> \end all-values: <<all-values>> <$wikify name=string text="<<all-values>>"> String: <<string>> <$set name=result filter="[<string>split[]sum[]]"> Set sum Result: <<result>><br> </$set> <$set name=result filter="[<string>split[]] +[count[]]"> Set Count: <<result>><br> </$set> <hr> <$list filter="[<string>split[]sum[]]" variable=datum> List Result: <<datum>><br> </$list> <$list filter="[<string>split[]]" variable=datum> List: <<datum>><br> </$list> </$wikify> The result of Set Count: and List: demonstrates it is still not perfect. I am not so practiced with Data Tiddlers. Regards Tony On Monday, June 3, 2019 at 11:00:22 PM UTC+10, Watt wrote: > > Thanks TonyM, yes it's a data tiddler with index:value pairs. > > 01:1 > 02:0 > 03:1 > 04:1 > 05:0 > etc. > > Any clues on counting the '1' values much appreciated. > > -- 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/6c77d1ec-4c1d-4b14-bd7e-55e2473622f6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

