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

accessing the report data


I have an requirement here.I need to design a visualforce page like a table.The data in the table should dispLAY THE analytic data.Like number of accounts created this year.And kind of number of contacts,It just display the count of the data.

I tried to use the count function in the controller.But its hitting the governor limits number of records fetched is greater than 10,000 records.


So I am looking for alternative like can we fetch the data from reports.I know reports is not an Object in salesforce, It doesnt have fields to access.But i am looking for any alternative to fetch the data from existing reports.


 Here is an interesting article that you might find helpful, of an unofficial way to attempt what you are requesting.



Do you know Analytic Snapshots?

Go to setup | Data Management | Analytic Snapshot.


It should exactly do what you want.