Overview
The parameters provides a user an opportunity during a custom metric creating to have the flexibility to add values that allow for more tailored analysis. There are three types of parameters that can be added: Drop-down list, Date, and Input. With these parameters, users can configure specific values for the custom metric to better fit their needs.
In the dashboard view, users can easily filter a metric with the set parameters. This real-time adjustment of parameters allows the metric to be recalculated on the fly, which enhances the analysis process.
How to create Parameters
Before using parameters with a custom metric on a dashboard it is necessary to add Parameters and configure them via PerfQL.
Step 1: Add Parameter
At the Data Selection step of the ‘Create New Metric’ or ‘Edit Metric’ custom metric stepper click on the plus button at the Parameters option.
On the Add Parameters form fill in the required fields:
Specify a Parameter Name
Parameter name must be unique within one metric.
Please avoid using spaces in a parameter name.
Select a Type
There are three types of parameters are possible to use:
Date field - contains a Calendar. Using this option you are able to configure a specific date.
Dropdown list - allows to create a set of values which will be possible to apply to the metric and select on a dashboard.
Input field - allows to specify your own custom value(s).
Set Default value
For the Date Field set a date you would like to use as a default one. Based on this date a metric will be calculated for default view. There is one date is possible to set within one field.
After setting value(s) for the Dropdown list type click on the default field and select the value(s) you would like to set as a default. Based on selected values a metric will be calculated for default view. It is possible to select several values.
For the Input field