Fetch notes by SUM() per date

To not offset the datasets if there's more than one transaction per note
and date