Connecting to Parameters
You can connect the parameters that you created to analysis elements that use their
values, such as filters, calculated fields, custom actions, or titles and descriptions
throughout an analysis.
- Click , the Dashboards tab.
- Click Dashboard Designer, in the bottom-left corner.
- On the Analyses dialog, click , the Options button, next to an analysis and select Edit to open the analysis page.
- To connect a parameter to a filter:
- Select a visual and click , the Filter button, on the toolbar.
- In the Filters panel, click the + ADD button and select the field that you want to use in the filter.
- Select the added filter to configure it.
- Add a parameter based on the field type selected for the filter:
- For numeric fields, enable the Use parameters option and select a parameter from the list.
- For text fields, first select Custom Filter for Filter type, and then enable the Use parameters option and select a parameter from the list.
- For date fields, enable the Use parameters option and select a parameter under Start date parameter and End date parameter.
Note: Parameters that can have multiple values must use Equals or Does not equal as the comparison type.
For more information on filters, see Working with Filters. - To include a parameter in a calculated field:
- Click , the Datasets button, on the toolbar to display the Data panel.
- In the Data panel, click the + CALCULATED FIELD button.
- In the Add calculated field dialog, create a calculation.
- To include a parameter in the calculation, expand the Parameters section and double-click one of the available parameters.Parameters without a default value cannot be included in calculated fields.
For more information on calculated fields, see Using Formulas. - To connect a parameter to a custom action:
- Select a visual and click , the Format visual icon, in the top-right corner of the visual.
- In the Properties panel on the right, select the Interactions tab.
- Expand the Actions section and click the ADD ACTION button.
- To include a parameter in the action name, click , the Insert parameter icon, next to Action name and select a parameter from the list.
- To create a navigation action with a parameter, select Navigation action under Action type, then click , the Add icon, next to Parameters and select a parameter and a parameter value.
- To create a URL action with a parameter, select URL action under Action type, then click , the Insert parameter icon, next to URL and select a parameter.
For more information on custom actions, see Using Custom Actions. - To include a parameter in sheet titles and descriptions:
- On the menu bar, go to or .
- At the top of the sheet, enter a sheet title or description.
- To include a parameter in the title or description, click , the Insert parameter icon, and select a parameter from the list.
- To include a parameter in visual titles and subtitles:
- Select a visual and click , the Format visual icon, in the top-right corner of the visual.
- In the Properties panel on the right, expand the Display Settings section.
- Click , the Edit icon, next to Edit title or Edit subtitle.
- In the Edit title or Edit subtitle dialog, enter a title or subtitle for the visual.
- To add a parameter, select a parameter from the Parameters list on the right.
- To include a parameter in the titles of visual axes:
- Select a visual and click , the Format visual icon, in the top-right corner of the visual.
- In the Properties panel on the right, expand the section for the axis that you want to format.
- Under Title, enter a custom axis title in the text box.
- To include a parameter in the title, click , the Insert parameter icon, and select a parameter.
- To include a parameter in visual legends:
- Select a visual and click , the Format visual icon, in the top-right corner of the visual.
- In the Properties panel on the right, turn on the Legend switch.
- Expand the Legend section.
- Under Legend title, enter a title for the legend.
- To include a parameter in the title, click , the Add parameter icon, and select a parameter.