Enable Filtering of Information Displayed in the Sales Dashboard

You can enable 4 filters that salespeople can use to filter the information displayed in the sales dashboard: Time Period, Teams, Territory, and Product Groups. When you enable the filters, they're available in all the sales dashboards in your organization.

screenshot of a search bar with the Time Period, Teams, Territory, and Product Groups filters displayed

Here's how to display the global filters:

Enable the Filters Using VB Studio

  1. Open the custom Sales Dashboard where you're adding the filters.
  2. Click Settings and Actions > Edit Page in Visual Builder Studio.
  3. In VB Studio, select the App UIs tab.
  4. On the Page Designer subtab, click Components.
  5. On the Properties tab on the right, click Constants.
  6. Click enableFilters.

    Sales dashboard Constants with the enableFilters selection highlighted
  7. Use the Add Item (plus sign) icon to add rows for each filter you want to display. You can make the filters available to all or restrict them to specific job roles. For example, only managers may need to filter by teams and territories.

    • Enter the following code to enable filters to all users:

      Filter Code to Enable to All Users
      Time Period timeFilter
      Team teamFilter
      Territory territoryFilter
      Product Groups productGroupFilter
      Screenshot of code entries for filters in enableFilters
    • To restrict a filter to specific job roles, enter code similar to the following. The sample code below restricts the metric you specify in yourMetric to the sales manager roles provided by Oracle.

      [[ $application.user.roles.includes('ORA_ZBS_INSIDE_SALES_MANAGER_JOB') || $application.user.roles.includes('ORA_ZBS_SALES_MANAGER_JOB') ? 'mymetric' : 'yourMetric' ]]

Enable Filters in the OTBI Analyses

You must include "is prompted" column filters in your analyses that match the filters you enable in the dashboard. The following table lists the columns for opportunity pipeline visualizations.

Filters to Add in OTBI to Enable Sales Dashboard Filtering

Filter Folder Column Operator
Team Sales - CRM Pipeline > Employee > Sales Resource Hierarchy/ Current Level 1 Resource id is prompted
Territory Sales - CRM Pipeline > Territory > Territory Hierarchy Level 1 Territory id is prompted
Time Sales - CRM Pipeline > Opportunity Expected Close Date is prompted
Product Group Sales - CRM Pipeline > Product Sales Catalog Hierarchy 1 Name is prompted
Screenshot of an analysis showing the filter for opportunities