David Huynh-2 wrote:
> 
> Fruch wrote:
>> I have those items:
>>
>> {
>> type :                                       "Task",
>> label :                                      "Building a New Site for A",
>> assignTo:                                  "Bibi",
>> status :                                   "Done",
>> timeHours :                          "10"
>> },
>> {
>> type :                                       "Task",
>> label :                                      "Building a New Site for B",
>> assignTo:                                  "Bibi",
>> status:                                  "Current"
>> timeHours :                          "25"
>> }
>>
>> how do I Sum all the timeHours of Tasks.
>>   
> 
> Could you provide more context? Where do you want the sum to appear?
> 
> David
> 
> 

I actually found a way to sum all the properties, and show them in a view of
a person ( add(!assignTo.timeHours) , was used to show all the tasks time a
person did)
 
{
 type :                                 "Person",
 label :                                  "Bibi"
}

but I came into a problem when I wanted to sum only the not "Done" tasks,
which mean summing by criteria.

More example on the way to use expression could be useful 
-- 
View this message in context: 
http://www.nabble.com/How-to-Sum-a-list-of-numbers-tp14356032p14365793.html
Sent from the SIMILE - General mailing list archive at Nabble.com.

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to