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
SFDC DummySFDC Dummy 

how to create report using visualforce page:

Hi

I want to craete a custom report using visualforce page .and also want to some calculation in that custom report.

is there any way for calculation like( multiply ,substraction,and division) apat from summation
shiv@SFDCshiv@SFDC
This SFDC document might be help you.

http://docs.releasenotes.salesforce.com/he-il/spring14/release-notes/rn_analytics_vf_charts.htm
Mudit GargMudit Garg
Hi,

The SFDC does not provide the facility to do calculations on the VF page for reports.

Best practice to solve the issue:
  1. Do a calculation on the custom report.
  2. Fetch the report in the VF page by using the below code:
<apex:page>
<analytics:reportChart reportId=”00Oxxxxxxxxxxxx”></analytics:reportChart>
</apex:page>
Please mark as best answer if it helps you. 

Thanks,
Mudit Garg


 
Syed Noormohamad 14Syed Noormohamad 14
HI Mudit garg.

After tring your code I am getting  these error.

This developer name is invalid. Provide the developer name for the report that contains the chart.....

How to fix it?