Hi,
I have a collection which for ease at minute has the follwing columns DateCalc which is the date formatted as "yyyymmdd" , hours and job
I wanting to have a label on a different screen which shows me the total hours from the collection based on the DateCalc Column.
The collection has various dates in it and i'm only wanting to return the sum of all the items where the date matches a hidden label.
For example (if today) i have a label on the screen which would be "20190516" i would want to return the SUM of the hours column for all the records in the collection where the DateCalc column has 20190516 in it not any others
I can return the total value of all the hours in the collection by using Sum(JobCollection,hours) however i'm unable to work out how to do this when filtering. i have tried the below and various others. any thoughts?
Sum(Filter(JobCollection,DateCalc=labeltoday.text),hours)