With parameters, you can prompt for values to use with a query's filters or calculations each time it runs. By setting these values at runtime, you can use a query in a different context—such as account, region, or time period—each time it runs.
You can create custom parameters to use with a specific query, or your workspace owner may create global parameters for use with multiple queries.
Create local parameters for a query
You can set a query's parameters in either Builder or SQL Editor. When you create a parameter, you can use it with multiple filters and calculations in the query.
Step 1. Create the parameter
- From the Parameters panel, click Add, and select Create local parameter.
- To help identify the parameter, enter a unique name with only alphanumeric characters and no spaces.
- In Filter type, select the type of data to filter by, such as Text or Integer.
Step 2. Set up the parameter's values
When a query runs, its parameters can accept freeform values—based on the data type—or provide a list of specific values to choose from.
- To accept any freeform value, enter the default (if applicable), and click Create.
- To provide a list of specific values:
- Enable Picklist.
- To enable multiple values for the parameter, check the Multi-Select box.
-
In List Options, enter the values to choose from, pressing Enter after each.
Note: For a date or timestamp parameter, enter each option in the
YYYY-MM-ddformat. -
Select any default value for the parameter, and click Accept.
Note: For a multi-select parameter, select at least one default value.
- Click Create to finish.
Step 3. Use the parameter in the query
To apply the parameter's value to the query, use it in a filter or calculation:
-
To set a filter's value based on the parameter in Builder, select it when you define the filter from the Filter Properties right panel.
Note: For a multi-select parameter, select a filter operator of Is In List or Is Not In List on the Filters tab.
- To use the parameter with a filter in SQL Editor or reference its value in a calculation, enter its name after a colon (
:) in the SQL statement, such as:ReportingPeriod.
Use global parameters in a query
Your workspace owner may configure global parameters for common values used with multiple queries. To use global parameters in a query:
- From the Parameters panel, click Add, and select Global parameter.
- Select the global parameters to use in the query, and click Add.
-
To edit the global parameter, select it and update its name or value as necessary for the query.
Note: To ensure consistent analysis, your workspace owner may lock a global parameter to prevent its value from being edited.
- To apply a global parameter's value to the query, use it in a filter or calculation:
-
To set a filter's value based on the parameter in Builder, select it when you define the filter from the Filter Properties right panel.
Note: For a multi-select parameter, select a filter operator of Is In List or Is Not In List on the Filters tab.
- To reference the parameter in SQL Editor, enter its name after a colon (
:) in the SQL statement, such as:ReportingPeriod. - To reference a parameter value in a calculation's SQL statement, select the parameter from the Parameters menu.
-
Use system-generated parameters in a query (Preview only)
System-generated parameters are a built-in option that lets you filter queries using your workspace’s existing entity list. It replaces the need for custom global entity parameters by automatically providing a dynamic, up-to-date list of entities.
Note: This feature is provided to select customers as part of the Entity 360 preview. This program, and its associated feature previews, are provided from October 1, 2025 to March 31, 2026. Workiva may extend the testing period of the preview features at its discretion. If your team is interested in testing this feature, please contact your Customer Success Manager.
Step 1. Create the parameter
Note: To use system-generated parameters, entities must first be created in Entity 360 and added as reference parameters.
- From Configuration , select the Parameters tab, and click Create > System-generated > "Entity".
- Rename your parameter as needed.
Step 2: Assign the parameter to a filter
- From the Parameters panel, click Add, and select System-generated parameter.
- Select the system-generated parameter to use in the query, and click Add.
Things to know
- System-generated parameters are not supported in shared queries at this time.
- Parameter values are drawn from the entities available in your workspace. New values will become available as additional entities are added.
Edit a query parameter
To adjust or manage the details of a parameter:
- From the Parameters panel, select the parameter to edit.
- Edit the parameter's name, data type, or values as necessary.
- Click Apply.
Remove a query parameter
If you no longer need a parameter, you can remove it from the query. From the Parameters panel, click the parameter's Delete , and click Save .