Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion features/filters-and-variables.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@

## How filters work

Filters are dashboard-level controls that automatically add variables to your chart queries. When you reference entities or time periods in your prompts, Basedash intelligently creates the appropriate filters and injects them into your SQL queries.

Check warning on line 11 in features/filters-and-variables.mdx

View check run for this annotation

Mintlify / Mintlify Validation (basedash) - vale-spellcheck

features/filters-and-variables.mdx#L11

Did you really mean 'Basedash'?

### Automatic filter creation

Basedash automatically creates filters when you use certain language patterns in your prompts:

Check warning on line 15 in features/filters-and-variables.mdx

View check run for this annotation

Mintlify / Mintlify Validation (basedash) - vale-spellcheck

features/filters-and-variables.mdx#L15

Did you really mean 'Basedash'?

- **Entity references**: "Show me details for a user" → Creates a user selector
- **Time references**: "Revenue over time" → Creates date range filters
Expand All @@ -20,7 +20,7 @@

## Filter types

Basedash supports multiple variable types you can use to create dynamic, interactive dashboards. Each type serves a specific purpose and provides different functionality.

Check warning on line 23 in features/filters-and-variables.mdx

View check run for this annotation

Mintlify / Mintlify Validation (basedash) - vale-spellcheck

features/filters-and-variables.mdx#L23

Did you really mean 'Basedash'?

### Record filters

Expand Down Expand Up @@ -173,7 +173,7 @@
Mark filters as "Required" to ensure they always have a value before queries execute.

### Public dashboard visibility
Control whether filters appear on public dashboards with the "Show on public dashboard" option.
Control whether filters appear on public dashboards. To display a filter on a public dashboard, edit the filter and toggle the "Show on public dashboard" option.

### Default values
Set default values for filters to provide starting points for user interactions.
Expand All @@ -193,7 +193,7 @@

### Line charts
```
Show me user signups over time

Check warning on line 196 in features/filters-and-variables.mdx

View check run for this annotation

Mintlify / Mintlify Validation (basedash) - vale-spellcheck

features/filters-and-variables.mdx#L196

Did you really mean 'signups'?
```
- **Time filters**: Automatically adds date range selection
- **Record filters**: Can add user selection for specific user trends
Expand Down Expand Up @@ -264,12 +264,12 @@

**Good:**
```
Show me user signups over time

Check warning on line 267 in features/filters-and-variables.mdx

View check run for this annotation

Mintlify / Mintlify Validation (basedash) - vale-spellcheck

features/filters-and-variables.mdx#L267

Did you really mean 'signups'?
```

**Avoid:**
```
Show me user signups for the last 7 days

Check warning on line 272 in features/filters-and-variables.mdx

View check run for this annotation

Mintlify / Mintlify Validation (basedash) - vale-spellcheck

features/filters-and-variables.mdx#L272

Did you really mean 'signups'?
```

### Reference other charts
Expand Down