1

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?

1
  • 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

1

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.

http://www.oyecode.com/2014/01/how-to-build-graphs-on-visualforcepages.html

0

Answer Copied from this question.

In Dashboard you can add parameter dynamically.

https://MyDomainName.my.salesforce.com/lightning/r/Dashboard/01ZRM0000005jrv2AA/view?queryScope=userFolders&fv0=Closed%20Won&fv1=Acme

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 .