Documentation Index
Fetch the complete documentation index at: https://docs.definite.app/llms.txt
Use this file to discover all available pages before exploring further.
Users need the Admin role to create and edit filters. Analysts can use existing filters but cannot modify them.

Creating prominent filters
You can add prominent filters in two ways:Using Fi
Ask Fi to add filters to your Doc:- “Add a prominent filter for industry”
- “Add a filter for region to the toolbar”
- “Create filters for CRM source and stage name”
Manually via YAML
- Click the ⋯ menu in the top toolbar
- Select View YAML
- Add a
filterssection aftermetadataand beforedatasets:
| Property | Description | Example |
|---|---|---|
id | Unique identifier for the filter | region_filter |
label | Display name shown in the toolbar | Region |
target.dimension | The cube and dimension to filter | orders.region |
operator | Filter operation | equals |
display | Set to prominent to show in toolbar | prominent |
values | (Optional) Preset values for the filter | ["North America", "Europe"] |
Using prominent filters
- Click a filter in the toolbar (e.g., “Industry”, “Region”, “Source”)
- Select one or more values from the dropdown
- Click Apply to see your filtered data
Local vs. saved filters
When you apply a filter, you have two options:| Action | Who sees it | Persistence | Use case |
|---|---|---|---|
| Apply | Only you | Temporary (resets on page reload) | Exploring data on your own |
| Save for everyone | All users | Permanent (becomes the default view) | Setting the default filter state for the Doc |

Filter display modes
Filters have two display modes, controlled by thedisplay property:
| Mode | Behavior |
|---|---|
prominent | Shown directly in the toolbar (always visible) |
popover | Hidden behind a filter button/popover (default) |
options (predefined choices) and excludeDatasets (skip specific datasets when applying the filter).
Parameters in SQL datasets
Parameters are a separate mechanism from filters. While filters target Cube dimensions, parameters inject values directly into SQL queries using Jinja-style{{ "{{" }} parameters.<id> {{ "}}" }} syntax.
Parameters only work with
engine: sql datasets. They do not work with Cube or Python datasets. For Cube datasets, use filters (above) instead.Parameter properties
| Property | Required | Description |
|---|---|---|
id | Yes | Unique identifier, referenced in SQL |
type | Yes | Data type (e.g., time). Call get_doc_schema() at runtime to see all valid types. |
label | Yes | Display name shown in the UI |
default | No | Default value when the Doc loads |
Key rules
- Reference parameters with
{{ "{{" }} parameters.<id> {{ "}}" }} - Wrap in single quotes for string/date values:
'{{ "{{" }} parameters.start_date {{ "}}" }}' - Only works with
engine: sqldatasets - Parameters are always shown as input controls in the UI (no
displayproperty like filters)

