SwiftData adding INTs from records of the same date

Hi All,

Looking for some help.

I have an app that uses Charts and SwiftData.

I have created @Query that filters the records and charts displays Ints in a line graph by the date. Easy.

Most dates have two or more records.

What I need to do is add all the ints from the same day and use that result in the chart.

Any help you can send my way?

Thanks so much. Blessings, --Mark

SwiftData adding INTs from records of the same date
 
 
Q