Let Zoë know about categorical values
Zoë will never index your data unless you explicitly tell her to. This protects your privacy and makes sure we never index sensitive or regulated data.
Many times you'll want to be able to ask questions like "How many orders do we have in fulfillment placed more than a week ago?" But if the fulfillment
category is hidden in a field nebulously called status
, Zoë won't know how to find the right filter.
Add the searchable
property to the status
dimension like:
- name: status
field_type: dimension
type: string
sql: ${TABLE}.status
searchable: true
This will tell Zoë to index the categories in this dimension (this works up to 10,000 categories, contact support for a use case with >10,000 unique categories).
Now Zoë will be able to answer the question "How many orders do we have in fulfillment placed more than a week ago?" by applying the right status = 'fulfillment'
filter using the capitalization in the database to the query.