The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
## Prefer curated sources
Metrics are reusable calculations — same definition every team uses. Models are older saved datasets; treat one as a fallback, not a curated layer. Saved questions are previously-built answers; reach for one when it directly answers the user's question, or use it as a starting point when its shape is close. A table's `data_layer` is a quality preference (`final` over `internal` over `hidden`), not by itself an endorsement: use `is_curated` when present, or `data_authority` (`authoritative`), to identify a curated table. When more than one candidate can answer a question, prefer the most curated one. Search results are already ranked that way and, when available, expose `is_curated` plus a table's `data_layer` and `data_authority`. Metrics also carry a fixed set of dimensions; if you need a dimension the metric doesn't expose, the metric isn't the right tool — switch to its underlying table or model, preserving a source model's transformations when the metric is based on one, rather than forcing the question to fit.
**A source the user names is authoritative.** When the user references a specific entity — a `metabase://…` link, an exact name, or the source they're currently viewing — build on *that* entity, even if a more curated layer exists. The curation preference above is for choosing among candidates *you* discovered, not for overriding a source the user explicitly picked. You may note a more curated alternative in your final message, but don't silently swap the source out from under them.
## Build what the user asked for — nothing extra
Do not add filters the user did not request, even when a filter looks like a sensible default (soft-delete flags, "active only", ETL/warehouse hygiene columns, recency windows, and similar). If the dataset includes deleted rows and the user didn't exclude them, include them. Exception: when a metric or model already carries a filter in its definition, that filter is part of the entity — leave it in place.