Skip to content

Latest commit

 

History

History
64 lines (52 loc) · 4.86 KB

File metadata and controls

64 lines (52 loc) · 4.86 KB
title author legacyId
Creating Parameters
Natalia Kazakova
16522

Creating Parameters

This topic explains how to create a new dashboard parameter and specify its settings.

To create dashboard parameters in the Dashboard Designer, do the following:

  1. Click the Parameters button on the Ribbon's Data Source tab.

    Parameters_AddParameterButton_Ribbon

  2. In the invoked dialog, click the Add button to add a new parameter.

    Parameters_ParametersDialog

  3. Specify the following settings.

    • Visible - Specifies whether or not the parameter editor is visible in the Dashboard Parameters dialog.

    • Allow Null - Specifies whether or a not null value can be passed as a parameter value.

    • Allow Multiselect - Specifies whether or not multi-selection is enabled for the current parameter. The following limitations are applied to parameters with multi-selection enabled.

      • Use the is any of or is none of operators to pass a multi-select parameter to a filter criteria or to the Expression format condition.
      • Use the In or Not In operators to pass a multi-select parameter to a calculated field expression.
      • Stored procedures used in the SQL data source do not support multi-select parameters.
    • Name - Specifies the parameter name. When creating and modifying parameter names, follow the rules below.

      • A name can contain letters, numbers and underscores.
      • A name cannot contain spaces.
      • A name cannot be an empty string.
      • The dashboard cannot contain parameters with the same name.
      • Names are case-sensitive. For example, you can create the names Parameter and PARAMETER .
    • Description - Specifies the parameter's description. The parameter's description is the value displayed in the Parameter Name column of the Dashboard Parameters dialog.

    • Look-Up Settings - Specifies the parameter's look-up editor settings.

    • Select All Values - Specifies whether or not all parameter values should be selected in the initial state of the Dashboard Viewer.

      Note that this option is in effect when Allow Multiselect is set to true.

    • Type - Specifies the parameter type.

    • Value - Specifies the default parameter’s value. Note that when Allow Multiselect is set to true, the Value option allows you to select multiple parameter values.

    Then, click OK to add the created parameters to the dashboard.

There are three types of look-up editor settings that can be specified for a parameter. Select the required type from the LookUpSettings drop-down list.

Parameters_ParametersDialog_LookUpSettings

  • No Look-Up - set the Value to use a static value as a parameter.

    Parameters_LookUpSettings_NoLookUp

  • Static List - click the ellipsis button to add static values for the current dashboard parameter.

    Parameters_LookUpSettings_Static

    In this case, the Value specifies the default parameter's value.

  • Dynamic List - allows you to use a list of values from the existing data source as a parameter. You need to select the required Data Source from the list of available data sources and data members for the dashboard parameter's display name and value, respectively.

    Parameters_LookUpSettings_Dynamic

    1. First, select the required Data Source from the list of available data sources. For the SQL data source, select the required Data Member that specifies the query from the selected Data Source.
    2. Then, specify data members for the dashboard parameter's value and display name using Value Member and Display Member, respectively.
    3. If necessary, specify the data member used to sort parameter values using the Sort By option. Sort Order specifies the required sort order.

    [!NOTE] To learn how to create a data source for a dashboard parameter, see Provide Data.

    Note that you cannot specify an OLAP data source as the data source for the dashboard parameter in the Dashboard Designer.