We have a dashboard that we want to scale for all Accounts, currently it is based on one account. User should have the capability to see this dashboard for any account that he chooses

Is there any possibility / way to add filter to the dashboard grammatically using Apex or Visualforce?

  • Why don't you add this dashboard on Account page layout, this will automatically filter your account based data. Feb 4, 2016 at 23:20

2 Answers 2


Yes you can easily do this and in a very beautiful way instead of using salesforce dashboards. Try this framework which goes into a VisualForce page.



Answer Copied from this question.

In Dashboard you can add parameter dynamically.


In above URL fv0 and fv1 is parameter.

Same question already asked.

Idea Delivered by salesforce.

Ref : Filter Dashboards with URL Parameters in Lightning Experience

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .