Hi Danny,
To me it seems possible.
I had some requiremnt not exaclty like this but I wanted to get the count of records created in each month of year.
So I created the below query, which returns the year in one comlumn, respective month one after the other in next column and count of records in that month which is created in third column.
Reference query:
select to_char(Created Date,'YYYY') as year,
to_char(Created Date,'MM') as month,
count(*) as record_count
from asset where (Append you where condition if any)
group by to_char(Created Date,'YYYY'),to_char(Created Date,'MM')
order by year,month;
Now you can change the date field name and object name and you can also append the where clause if you have any and instead of count you can take the sum of the cost field in your object.
Thank you!
------------------------------
Tanishk Rathi
------------------------------