Skip to main content
Specifies an alternative field to use for filter suggestions. By default, filters run a SELECT DISTINCT(${field}) to populate filter suggestions. In scenarios where that query may be less performant, or in places where developers may want to curate the suggestion list, this parameter can be used to suggest via an alternative field’s distinct values.
See Customizing filter suggestions for more information about filter suggestions.

Limitations

This parameter can’t be used with faceting on the same dimension.

Syntax

Properties

object
The name of the dimension. Dimension names must:
  • Be unique within the view
  • Start with a letter
  • Contain only alphanumeric characters and underscores

Examples

Filter-only field with suggestions
Dimension with alternative suggestions