Syntax
Setshared_filters at the top level of a .composite_topic file.
Properties
A map of shared filter definitions, keyed by the filter’s name. Use the name to reference the filter, for example in
default_filters.Examples
Currency selector across topics
In this example, theorders and campaigns views each have a currency filter-only field:
Filter-only field in each view
Currency selector shared across topics
EUR in a workbook, Omni applies EUR to orders.currency in the orders subquery and to campaigns.currency in the marketing subquery.
Timeframe filter on some topics
In this example, the composite has three topics and the shared filter maps two of them to a date dimension.type sets the filter’s type explicitly.
Timeframe filter mapped to two of three topics
support_topic doesn’t have a mapping. A query that filters on Activity window and selects fields from support_topic will return an error.
