Use a Parameter with a Static Value Type

In this example a parameter is added to the appropriate widget and query values to update a component chart by different groupings.

Required Editions

Available in Salesforce Classic and Lightning Experience.
Available with CRM Analytics, which is available for an extra cost in Enterprise, Performance, and Unlimited Editions. Also available in Developer Edition.
User Permissions Needed
To create a parameter: Create and Edit Analytics Dashboards

Component bar chart grouped by country

  1. Create a parameter in the component and copy its parameter ID.
  2. To update the grouping, click the Widget tab and paste the copied parameter to the dimensionAxis value in columnMap.
    Adding a parameter to the component's widget tab.
  3. Click the Query tab and paste the copied parameter to the orders, groups, and dimensionAxis values.
    Adding a parameter to the component's query tab.
  4. Save the component.
  5. Edit the dashboard where the component is embedded.
  6. Click the updated component widget and click the Parameters tab.
    Parameters link
  7. Click the parameter you created and select Static from the Value Type dropdown menu.
  8. Add a field value in the text box and click Update.
    Selecting the parameter to Static and typing in a dataset field.
    Note
    Note The field value must exist in the component query otherwise you could get an error.
  9. The parameter groups the component with the new field value.
    Component bar chart with a new grouping.