Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

How to create a chart based on the sum of related entities?

$
0
0

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.

Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>