It requires first item or last item because you’re putting it into a group: Repeating groups handle lists.
You should have a Sale data type that stores a sale’s date, total, etc.
Search for Sales:grouped by date with aggregations of sum and average on the order total will return the total and average for each day.
To get the total over a period of time, reference the above expression:filtered (date > minimum date and date < maximum um date):each item’s sum:sum (this is the sum of each day’s total).
2 Likes