Setup and Admin Guide

Multi-Select Picklist Frequency Reports · set up in about 10 minutes

Multi-Select Picklist Frequency Reports counts how often each value of a multi-select picklist is chosen, optionally split by up to two Group By fields and limited by filters. Counts refresh on demand or on a schedule, and their results appear on the count's page and in standard Salesforce reports and dashboards. Setup takes about 10 minutes.

Before you install

Install

Get it on AppExchange

  1. On the AppExchange listing, click Get It Now and choose your org (production or sandbox).
  2. Choose Install for Admins Only. You'll give users access with a permission set below.
  3. Wait for the confirmation email, or refresh Setup → Installed Packages until Multi-Select Picklist Frequency Reports appears.

Set up in three steps

  1. Permission sets. Setup → Permission Sets:
    • MSP Frequency Admin: create, run, schedule and delete any count, and manage the Picklist Setup tab. Assign it to yourself and other admins.
    • MSP Frequency User: create, run, schedule and delete their own counts.
  2. Choose who scheduled counts run as. Scheduling starts automatically the first time someone schedules a count, and runs as that person. Scheduled counts use the record access of the user they run as, so an admin who can see the records being counted should open Picklist Setup (App Launcher → Picklist Frequency Reports) and click Run Scheduled Counts as Me.
  3. Optional: Blank Label. On Picklist Setup, change the label used for records with no value in the picklist or a Group By field (default "(Blank)").
The Picklist Setup tab with scheduler status, limits, Blank Label, reports and storage

Creating a count

Open the Picklist Frequency Reports app, go to Picklist Counts and click New Count.

The count editor
SettingWhat it does
Count NameMust be unique in the org (not case-sensitive). Reports filter on it.
Object and Multi-Select PicklistAny object you can access that has a multi-select picklist, including Tasks and Events.
Group By / Then Group ByOptional. Split the counts by up to two fields, for example Industry and Owner. Lookup fields show the related record's name.
FiltersOptional. Up to 10 conditions with optional filter logic such as 1 AND (2 OR 3). Dates accept YYYY-MM-DD or relative values such as LAST_N_DAYS:30 or THIS_QUARTER.
Start from a list viewCopies a list view's filters into the count. It's a copy: later changes to the list view don't change the count. "My records" becomes an Owner filter, and filters that can't be copied are listed so you can review them.
Runs to KeepHow many completed runs to keep for history (default 10; 0 keeps all).
Include detail rowsAlso store one row per record and value, linked to the counted record. Only the latest run's detail rows are kept. You can add your own lookup field on MSP Count Detail to the counted object; the app fills it so you can build cross-object reports.
RefreshDaily, Weekly (choose a day) or Monthly (choose a day, or the last day), at a time of day in your time zone.
Email after each runUp to 25 addresses receive a short summary after every run, or the reason a run failed.

Click Save or Save & Run.

Limits. Your org can have 5 counts, and 1 of them can be scheduled. The editor tells you when the scheduled limit is reached, and New Count and Duplicate explain how to free one up. Picklist Setup shows how many are in use. Run Now is always available, scheduled or not.

Running and viewing results

A count's page with the results chart

Reports and dashboards

The Reports tab includes the Picklist Frequency Reports folder. The folder is view-only: to change a report and keep your changes, open it and use Save As to save a copy in your own folder.

ReportShows
Run ResultsThe results of one run, with a bar chart. Open it from the links the app provides: View this run's report in run emails, Run Report on each run, and Latest Run Report on each count.
MSP Current CountsThe latest results of every count, grouped by count and value. Build dashboards on this report (or a copy): it filters on Is Latest = True, so it always shows current numbers after each refresh.
Count TrendEvery kept run, grouped by count, run date and value, to see changes over time.
The Run Results report

The Dashboards tab includes Picklist Frequency Overview in the view-only folder Picklist Frequency Dashboards: a stacked bar per count showing its latest results by value, and a table of the same numbers. It runs as the user who installed the package.

A dashboard for one count: open MSP Current Counts, use Save As to save a copy in your own folder, add the filter Count Name equals your count, and build a dashboard component on it (for example a bar chart of Record Count by Value). To switch between counts on one dashboard, add a dashboard filter on Count Name instead. Schedule the dashboard to refresh shortly after the count's scheduled time.

Report types: MSP Count Results (summary rows) and MSP Count Details (detail rows). Filter on Count Name to report on one count.

If the Run Report links are blank (for example after the Run Results report was deleted), click Reconnect Report on Picklist Setup.

Storage

Results are stored as records and use data storage. On Picklist Setup, the Storage section shows how many records each count stores. Choose Delete Runs on a count to pick which runs to delete. If you delete the latest run, the newest remaining completed run becomes the latest, so reports and dashboards keep showing data. Deletes run in the background.

Keeping many runs or turning on detail rows makes storage grow quickly; monitor it in Setup → Storage Usage.

Good to know

TopicHow the app behaves
Record accessA manual run counts the records the person clicking Run Now can see. A scheduled run counts the records the scheduling user can see. Each run records Run As.
Changing who scheduled counts run asLog in as that admin, open Picklist Setup and click Run Scheduled Counts as Me.
Turning scheduling offScheduling is always on. To stop all scheduled refreshes, set Refresh to Not scheduled on every count; the hourly check then does nothing. To remove the scheduler job itself, go to Setup → Scheduled Jobs, find MSP Picklist Frequency Scheduler and click Del. It starts again automatically the next time someone saves a scheduled count, or when an admin clicks Restart Scheduling on Picklist Setup.
Paused schedulesIf an org has more scheduled counts than allowed, the oldest stay active and the others show "(paused: over limit)". They keep their settings and resume automatically.
Changed fieldsIf a field used by a count is deleted or you lose access to it, the next run fails with a plain explanation; the previous results stay available.
LabelsValues are stored with their API value and label at the time of the run.

Troubleshooting

ProblemWhat to do
Scheduled counts don't refreshOn Picklist Setup, check that the scheduler is On; if not, click Restart Scheduling.
"You've reached your org's limit of 1 scheduled count"Remove the schedule from another count, or use Run Now. Email [email protected] to talk about raising your limit.
A run failedOpen the run (Last Run on the count) and read Error; then edit the count's fields or filters.
No run emailsCheck Email after each run and the recipients on the count, and Setup → Deliverability.
"This count is already running or being deleted"Wait for the current run or delete to finish.

Uninstalling

  1. If you added the app's tabs or components to other apps or pages, or built your own reports on its report types, remove them first. Salesforce lists anything still in use when you try to uninstall.
  2. Setup → Scheduled Jobs: delete MSP Picklist Frequency Scheduler.
  3. Setup → Installed Packages → Multi-Select Picklist Frequency Reports → Uninstall.

Uninstalling deletes all of the app's data (counts, runs and results). The records you counted aren't changed.

Help

Email [email protected] with questions or problems. A screenshot and the name of the count help a lot.