Filter Dashboards with URL Parameters in Lightning
Experience
There’s no need to set up the same filters each time you view your dashboard in
Lightning Experience. Create a custom URL that includes the filter values. Then when you access
the URL, your dashboard opens with the filters already set. For example, you can customize your
Opportunity Stages dashboard with a different URL for each account owner. Or you can create a
URL to zero in on the closed deals for a particular account.
Required Editions
Available in: Lightning Experience
Available in: Essentials, Group, Professional,
Enterprise, Performance, Unlimited, and Developer
Editions
User Permissions Needed
To add filters to dashboards you created:
Run Reports AND Create and Customize Dashboards
To add filters to dashboards you created in public folders:
Edit My Dashboards OR Manage Dashboards in Public Folders
To add filters to dashboards you didn’t create:
Manage Dashboards in Public Folders
To add filters to dynamic dashboards:
Manage Dynamic Dashboards
Start with a dashboard that includes the filters and values that you want to make
available using the custom URL.
Obtain the base URL for the filtered dashboard in either of the following ways:
Starting from
What to do
Analytics tab
Open the dashboard from the Analytics tab. Click Share. A window opens
to show the URL. Select the URL text and copy it to a text file.
Dashboards tab
Open the dashboard. Copy the URL from your browser’s address bar and paste it
into a text file.
Add the filter to the end of the URL. For example, the following URL sets Stage (the
first filter, or fv0) to Closed Won and
Account Name (the second filter, or fv1)
to Acme.
The & indicates a new parameter in the URL. If the base URL
doesn’t already include a ? to indicate
other parameters, use ? instead of
&.
fv0 — fv stands for "filter value." The number represents
the order in which the filter appears in the dashboard. The first filter is 0, the second filter is 1, and the third is 2.
=Closed%20Won — Specifies the filter value. The parameter value must
be URI encoded, which means that certain characters (such as spaces) must be written
in a format that URLs can understand. For the filter value “Closed Won”, the space ('
') between "Closed" and "Won" becomes %20 when
it’s URI encoded.
Navigate to the dashboard URL with the parameter appended.
When the dashboard opens, it opens with filter values applied.
These limitations apply
to dashboard filter URLs:
Dashboard filter URLs with the equals operator are
supported, but you can't create filter URLs with other operators such as less than, starts
with, or contains.
You can’t change the field being filtered using URL parameters.
You can assign at most one value per filter. For example, you can include
fv0=Acme in a filter URL but not
fv0=Acme&fv0=Universal.
You can't add new filters to dashboards using filter value URL parameters. You can only
modify existing filters.
You can’t delete filters from dashboards using filter value URL parameters. Setting a
blank value filters by no text or numerals, but doesn’t remove the filter.
Dashboard filter URLs aren't supported in Salesforce Classic.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.