---
schema_version: "1"
id: a593bd977302c45cd1405f799317bb3c651487aa41e70a64db8c87258061924e
title: Use a Parameter with a Static Value Type
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/analytics/264-0-0/bi_dashboard_components_parameters_static.md
canonical_url: https://help.salesforce.com/s/articleView?id=analytics.bi_dashboard_components_parameters_static.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 9a81ed312f6e30fd53651fc05861dd2b878114547fd6e334ff76aa7e9a5e2da5
description: In this example a parameter is added to the appropriate widget and query values to update a component chart by different groupings.
products:
  - CRM Analytics
  - Cross Cloud
release: "264"
---
# 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

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in Salesforce Classic and Lightning Experience.</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available with CRM Analytics, which is available for an extra cost in <strong>Enterprise</strong>, <strong>Performance</strong>, and <strong>Unlimited</strong> Editions. Also available in <strong>Developer</strong> Edition.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d75322e70">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d75322e70 ">To create a parameter:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d75322e70 ">Create and Edit Analytics Dashboards</td>

          </tr>
        </tbody>
      </table>

![Component bar chart grouped by country](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/bi/images/bi/bi_dashboard_components_parameters_3.png)

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.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/bi/images/bi/bi_dashboard_components_parameters_4.png)
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.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/bi/images/bi/bi_dashboard_components_parameters_create_2.png)
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](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/bi/images/bi/bi_dashboard_components_parameters_7.png)
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.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/bi/images/bi/bi_dashboard_components_parameters_8.png)
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/images/icon_note.png)
    
    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.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-analytics-bi-264-0-0-production-enus/ec791473-f5b4-4f64-a656-9104f455d966/bi/images/bi/bi_dashboard_components_parameters_9.png)

#### See Also

- [CRM Analytics Dashboard JSON Overview](https://developer.salesforce.com/docs/analytics/bi-dev-guide-json/guide/bi-dbjson-intro.html)