function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion 

Case Summary Info on Visualforce page

I am exploring the option of displaying some case numbers on a vf page.  Looking for ideas on getting summary data of the cases to the page.


For example:


Rating field with 3 options: "Did Not Meet Expectations", "Meets Expectations", and "Exceeds Expectations".


I would like to have a chart on a vf page that shows the number of cases in each bucket.  I know how to make a chart on a vf page and also how to get list data to a vf page, but struggling with getting summary data to the page.


Any assistance would be greatly appreciated!






Can't your VF page controller just query the particular cases it's interested in,  summarize the data, and return the data to the VF page?


I'm not an expert, but it seems like the logic in this SFDC article:


Could be refactored to  compute on your categories and return those categories as data to your chart.