Loading
CRM Analytics
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Add a Toggle Widget to Filter Dashboard Results Based on a Dimension

          Add a Toggle Widget to Filter Dashboard Results Based on a Dimension

          A toggle widget allows dashboard viewers to filter the CRM Analytics dashboard results based on a date or dimension. For example, a toggle widget can show results based on a specific record type.

          The toggle widget requires a query that has a single grouping based on a dimension. The values of the grouping appear as the toggle options.

          The values of the group-by dimension show up as the options in the list widget.

          You can also create a custom query to specify a user-defined list of values for the toggle widget.

          1. Drag the toggle widget to the dashboard canvas.
          2. To open the wizard, click the button inside the widget.
            The Select a Field screen appears, showing a list of all dimension fields in the specified dataset.
            The screen shows all dimension fields in the dataset.
          3. To use a different dataset, click Change Dataset.
          4. Select the dimension field to show each of its values as a toggle option. Field can be selected from the list or by typing in its API name.
          5. Click Create.
            Behind the scenes, CRM Analytics creates a query grouped by the field that you selected. CRM Analytics adds the query to the query panel, making it available for use by other widgets in the dashboard. CRM Analytics doesn’t apply any selections to the widget.
            The toggle widget doesn't apply any selections, by default.
          6. If needed, increase the size of the widget to show the display names of all toggle options.
            The resized widget shows all toggle options, including the measure.
          7. To change the widget and query properties, select the widget.

            The Widget panel groups the widget properties into sections. So that you don’t accidentally overlook any properties, expand any collapsed sections.

          8. To customize the appearance of the widget, set the widget properties.
            For example, you can set the styling properties for all toggle options in the “General” section, except the selected option, which you set under the “Selected Tab Style” section. You might choose different styling for the selected toggle option to indicate which option is selected while viewing the dashboard.
            The styling properties, like Text Color and Display Value and Format, appear under the General section of the widget properties.
          9. To add an interaction, select Create Interaction | +Add Action.
            Creating an interaction for a list widget.
            1. Use the menu to set up an action.
              Selecting action settings.
          10. To show and set the query properties, click Query in the right panel.
            For example, to enable this widget to filter other faceted widgets, select Broadcast selections as facets.
            While viewing the dashboard, a user can select a toggle option in this widget to filter other faceted widgets. To allow the viewer to make single or multiple selections, configure this widget’s query properties. You can specify whether selections are optional or required. You can also set an initial selection that applies when the dashboard opens. While viewing the dashboard, viewers can undo the selection or change the selection to filter the results differently. For information about setting an initial selection, see Set Initial Selections in the Dashboard.
          11. To preview your changes to the dashboard, click the Preview button.
          12. Save the dashboard.
           
          Loading
          Salesforce Help | Article