+ Start a Discussion
adam@schooldude.comadam@schooldude.com 

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!


Thanks,

Adam

kevindotcarkevindotcar

 

 

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:

   http://www.salesforce.com/us/developer/docs/pages/Content/pages_charting_overview.htm

 

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