Where Parameters Can Be Used in the Designer

You can use parameters in calculations, display rules, filters, and ranks. You can create, modify, and manage parameters using the Data tab in the left pane.
The following controls in the designer support parameters:
  • The drop-down list control accepts any single-value parameter.
  • The list control accepts multiple-value parameters only when multiple-selection is enabled.
  • The button bar control accepts any single-value parameter.
  • The text input field control supports character or numeric parameters. It does not support date or datetime parameters.
  • The slider (single-point only) accepts numeric, date, and datetime parameters. It does not accept month or date and time format parameters.
You can assign a numeric parameter to a slider control or text input control. However, if the category data assigned to the control is also a numeric type, then you can assign a numeric parameter to a drop-down list control, list control, or button bar control. A numeric category data item is one that started as a measure data item, but then its classification property changed from Measure to Category. For more information, see Example: Using a Numeric Parameter in a Report.
Parameters can be used with the following features in the designer:
calculations
calculated items and aggregated measures allow parameters. Parameters are supported wherever it makes sense to have a numeric, character, date, or datetime value. Multiple-value parameters can be used with only the In and NotIn operators.
display rules
numeric parameters can be specified as the value of an expression rule.
Note: Display rules cannot use character, date, datetime, or multiple-value parameters.
filters (detail filters, aggregated filters, and data source filters)
a numeric, character, date, or datetime value parameter is supported wherever it makes sense to have a numeric, character, date, or datetime value. Multiple-value parameters can be used with only the In and NotIn operators.
The data source filter is a special case. Ordinarily, a data source filter applies to all of the report objects on the canvas. However, if the data source filter contains a parameter, then the filter is not applied to the control that has that parameter assigned to it.
ranks
for a rank, the parameter can be included for the n value of the rank. It is supported for Top Count or Bottom Count and Top Percent or Bottom Percent.
Note: Ranks cannot use character, date, datetime, or multiple-value parameters.
URLs
parameters in a report URL can be modified.
For example, suppose that you have the following URL for a report: http://host/SASVisualAnalyticsDesigner/?reportPath=%2FUser%20Folders%2Fsasdemo%2 FMy%20Folder&reportName=Parameterized%20Calculations%20DR&type=Report.BI&Origin%20Parameter=Europe&Cost%20of%20gas=3.35
The first parameter is called Origin Parameter, which enables you to specify a different country name. The second parameter is called Cost of gas, which enables you to specify different costs to see how different gas prices change the report.
Note: A parameter cannot be used to pass credentials. However, credentials can be used as the value of a parameter.
Note: You cannot provide a value for a multiple-value parameter using a URL parameter.
Last updated: January 8, 2019