I have an entity called "Service Cost" that has a Name and currency field; "Cost". For instance:
Name: Maintenance Plan
Cost: $100
Each account in the system can purchase a service several times. In my new entity, "Service Cost"; I want a chart that displays the Service Name with the TOTAL revenue made from each particular service, by counting the sum of all the accounts that have purchased the service. How would I go about doing this?
Essentially what I am asking is, I want to calculate the total revenue made by each service and put it into a chart.