
Data Team Knowledge Base: Metric Definitions, Data Quality Rules, Dashboards, and SQL Snippets
Last reviewed: July 11, 2026
A Data Team Knowledge Base is the operating manual for trusted analytics. It is where a data team documents what metrics mean, how they are calculated, which dashboards are reliable, what data quality rules protect them, and which SQL patterns should be reused instead of rewritten from scratch.
Without one, teams usually discover the same problems repeatedly: revenue has three definitions, two dashboards disagree, a “certified” report has no owner, data quality checks fail with no remediation path, and analysts copy old SQL without knowing whether it is still valid.
A strong data knowledge base does not try to document everything. It documents the decisions, definitions, rules, and reusable assets that people depend on. It connects business context with technical implementation so analysts, engineers, and business stakeholders can work from the same reference.
Executive Summary
A useful Data Team Knowledge Base should answer five practical questions:
- What does this metric, field, dashboard, or rule mean?
- Who owns it?
- Where does the data come from?
- How is it calculated, tested, refreshed, and changed?
- What should someone do when it breaks or becomes outdated?
The best version combines several layers:
| Knowledge base area | Purpose | Primary audience | Typical owner |
|---|---|---|---|
| Metric definitions | Standardize KPIs and business logic | Executives, analysts, BI users | Metric owner + analytics engineer |
| Data quality rules | Define what “good enough to use” means | Data engineers, analytics engineers, data owners | Data owner + data platform/data quality owner |
| Dashboard documentation | Explain purpose, audience, filters, caveats, and trust status | Business users, dashboard owners, analysts | Dashboard owner |
| SQL snippets | Reuse approved joins, filters, date logic, and metric logic | Analysts, analytics engineers, BI developers | Analytics engineering |
| Business glossary | Align business terms and definitions | Business teams, data governance, analysts | Data governance or domain owner |
| Data catalog links | Connect definitions to actual tables, columns, dashboards, lineage, and owners | Data consumers and producers | Data platform/governance team |
| Change log and review workflow | Keep documentation current and auditable | Data team, stakeholders, governance | Data lead or steward |
This is not just documentation. It is a lightweight governance system for analytics.
What Is a Data Team Knowledge Base?
A Data Team Knowledge Base is a structured documentation hub that helps a data organization define, govern, and reuse its most important analytics knowledge.
A Data Team Knowledge Base is a specialized internal knowledge base for analytics and data operations. It does not replace the organization-wide knowledge base, data catalog, or governance framework; it connects them around the decisions and assets that data teams maintain.
It typically includes:
- Business definitions for metrics and terms.
- Technical calculation logic.
- Source tables and transformation notes.
- Data quality rules and test ownership.
- Dashboard purpose, refresh cadence, and known caveats.
- Reusable SQL snippets and query templates.
- Ownership, approval status, change history, and review dates.
- Links to data catalogs, BI tools, dbt projects, lineage tools, and incident runbooks.
A business glossary helps teams define shared vocabulary and connect terms to physical assets; DataHub’s glossary documentation, for example, describes terms as business definitions that can be organized, documented, owned, and associated with data assets. A semantic layer can centralize metric definitions so downstream tools use consistent logic; dbt describes its Semantic Layer as a way to define metrics centrally in the modeling layer and use them consistently across downstream tools.
The knowledge base sits across these systems. It does not have to replace a catalog, BI tool, semantic layer, or data quality platform. Instead, it should make those assets understandable and usable.
When a Data Team Needs a Knowledge Base
A data team usually needs a knowledge base when one or more of these patterns appear:
- Stakeholders ask the same metric-definition questions repeatedly.
- Teams disagree on KPIs such as active users, revenue, churn, conversion rate, pipeline, or retention.
- Dashboards are widely used but poorly understood.
- People do not know which report is approved, deprecated, or experimental.
- Analysts copy SQL from old dashboards without knowing whether the logic is current.
- Data quality checks exist but nobody knows who owns failures.
- New team members need weeks to understand the analytics environment.
- Business teams avoid self-service analytics because they do not trust the data.
- Metric changes happen informally in Slack, tickets, or meetings without a visible change log.
The goal is not to create a documentation museum. The goal is to reduce ambiguity at the points where people make decisions with data.
Data Team Knowledge Base vs. Glossary, Catalog, Dictionary, and Semantic Layer
These terms are often mixed together, but they solve different problems.
| Asset | Primary question it answers | Best use | Limitation if used alone |
|---|---|---|---|
| Data Team Knowledge Base | “How do we understand, trust, use, and maintain our analytics assets?” | Central operating guide for metrics, dashboards, rules, snippets, ownership, and workflows | Can become stale if not tied to ownership and review processes |
| Business glossary | “What does this business term mean?” | Shared vocabulary for business concepts and KPIs | May not show the technical implementation behind the term |
| Data dictionary | “What columns, data types, and fields exist in this dataset?” | Technical reference for schemas, tables, and fields | Usually does not explain business decision context |
| Data catalog | “What data assets exist, who owns them, and how are they connected?” | Discovery, metadata, ownership, lineage, and governance | May not provide enough practical usage guidance |
| Semantic layer | “How should governed metrics be calculated and queried?” | Centralized metric logic across tools | Does not replace human-readable context, caveats, and workflow notes |
| BI content inventory | “Which dashboards and reports exist?” | Dashboard governance and cleanup | Does not always explain metric logic or data quality expectations |
| Data quality platform | “Which checks passed, failed, or changed?” | Automated monitoring and validation | Does not fully explain business impact, ownership, and remediation |
A mature data organization often uses several of these together. The knowledge base is the editorial and operational layer that explains how people should use them.
What to Include in a Data Team Knowledge Base
A practical knowledge base should be organized around how people search for answers.
1. Metrics and KPI Definitions
Metric pages should explain the business meaning and the technical calculation. They should prevent arguments such as “Which revenue number is correct?” or “Why does the product dashboard not match finance?”
Metabase describes metrics as predefined calculations that define the official way to calculate important numbers, while dbt’s Semantic Layer documentation emphasizes centralizing metric definitions so teams can use the same definitions across downstream tools.
2. Data Quality Rules
Quality rules document the checks that protect important data assets. These can include null checks, uniqueness checks, accepted values, freshness expectations, referential integrity checks, distribution checks, and anomaly alerts.
dbt data tests are SQL queries that return failing records, while Great Expectations defines an Expectation as a verifiable assertion about data. These concepts are useful models for documenting quality rules in a knowledge base.
3. Dashboard Documentation
A dashboard page should explain what the dashboard is for, who should use it, what decisions it supports, which metrics it contains, when it refreshes, and what caveats apply.
Power BI endorsement distinguishes promoted and certified content to help users identify quality resources, and Tableau recommends documenting certification criteria so administrators and users understand what certification means.
4. SQL Snippets and Query Templates
SQL snippets help analysts reuse approved logic instead of rewriting joins, filters, and calculations. Metabase’s snippet documentation describes saving reusable SQL or native code blocks, including partial query sections, parameters, and references to other snippets.
A snippet library is especially useful for:
- Standard joins.
- Date spine logic.
- Active customer filters.
- Revenue exclusions.
- Cohort logic.
- Window function patterns.
- Common segmentation rules.
- Approved WHERE clauses for production reporting.
5. Ownership, Review, and Change History
Every important page should show:
- Owner.
- Backup owner.
- Review date.
- Approval status.
- Related dashboards.
- Related datasets.
- Related tests.
- Change log.
- Deprecation status if applicable.
Without ownership, documentation becomes stale. Without change history, people cannot understand why definitions changed.
Recommended Knowledge Base Structure
The strongest structure is usually not based on tool names. It is based on the reader’s job.
| Section | What it contains | Who uses it | Practical value |
|---|---|---|---|
| Start here | How to use the knowledge base, trust labels, escalation paths | All users | Reduces confusion and onboarding friction |
| Metric glossary | KPI definitions, formulas, owners, caveats | Executives, analysts, business teams | Prevents conflicting definitions |
| Dashboard catalog | Certified dashboards, owners, purpose, refresh cadence | Business users, BI teams | Helps users find the right dashboard |
| Data quality rules | Checks, thresholds, severity, failures, remediation | Data engineers, analysts, data owners | Makes quality expectations explicit |
| SQL snippet library | Approved reusable query logic | Analysts, analytics engineers | Reduces duplicated and inconsistent SQL |
| Dataset guides | Important tables, models, grain, lineage, limitations | Analysts, engineers | Helps people use the right data correctly |
| Governance workflow | Approvals, review cadence, change process | Data leads, stewards, stakeholders | Keeps the system maintainable |
| Incident runbooks | What to do when data breaks | Data team, business owners | Speeds up response and communication |
| Deprecated assets | Old dashboards, retired metrics, replacement links | All users | Prevents accidental use of outdated work |
Metric Definitions: Make Every KPI Unambiguous
A metric definition should be understandable to both a business stakeholder and an analytics engineer. It should explain what the metric means, how it is calculated, when it should be used, and when it should not be used.
Metric Definition Template
| Field | What to document | Example |
|---|---|---|
| Metric name | Approved display name | Net Revenue |
| Business definition | Plain-language meaning | Revenue after approved discounts, refunds, and excluded test transactions |
| Business owner | Person accountable for meaning | VP Finance |
| Technical owner | Person accountable for implementation | Analytics Engineering Lead |
| Formula | Calculation logic | Gross revenue minus refunds and approved discounts |
| Numerator | Top part of ratio, if applicable | Converted sessions |
| Denominator | Bottom part of ratio, if applicable | Eligible sessions |
| Grain | Level at which the metric is calculated | Order, account, user, session, invoice |
| Time logic | Which timestamp is used | Paid date, created date, closed date |
| Filters | Included records | Paid orders only |
| Exclusions | Excluded records | Test orders, internal accounts, canceled invoices |
| Source tables/models | Data assets used | fct_orders, dim_customers, fct_refunds |
| Refresh cadence | How often it updates | Hourly, daily, after pipeline completion |
| Dashboards using it | Where it appears | Executive Revenue Dashboard |
| Quality checks | Tests that protect it | Non-null order ID, accepted status values, freshness |
| Caveats | Known limitations | Refund timing may shift historical periods |
| Approval status | Draft, reviewed, certified, deprecated | Certified |
| Change history | What changed and why | Refund logic updated after finance review |
| Last reviewed | Review date | 2026-07-11 |
Practical Example: Metric Definition Page
# Net Revenue
## Business Definition
Net Revenue is the approved finance metric for revenue after refunds, discounts, and excluded test transactions.
## Use This Metric When
- Reporting executive revenue performance.
- Comparing revenue by product, region, or customer segment.
- Building finance-approved dashboards.
## Do Not Use This Metric When
- Measuring gross booking volume.
- Auditing payment processor settlement timing.
- Reporting tax-inclusive invoice totals.
## Formula
Net Revenue = Gross Revenue - Refunds - Approved Discounts
## Grain
Order line item.
## Time Logic
Use the paid timestamp, not the order-created timestamp.
## Source Models
- `analytics.fct_order_items`
- `analytics.fct_refunds`
- `analytics.dim_customers`
## Owner
Business owner: Finance
Technical owner: Analytics Engineering
## Quality Rules
- Order ID must not be null.
- Payment status must be in the approved list.
- Source table must refresh before executive dashboard refresh.
## Change History
- 2026-07-11: Added refund exclusion caveat after finance review.
This format prevents the most common metric problem: people agreeing on a name while silently using different logic.
Data Quality Rules: Document What “Trusted” Means
Data quality documentation should not only list checks. It should explain why the rule exists, who owns it, what happens when it fails, and whether the failure blocks reporting.
Data Quality Rule Template
| Field | What to document | Example |
|---|---|---|
| Rule name | Clear rule title | order_id_not_null |
| Dataset/model | Asset being tested | analytics.fct_orders |
| Column or entity | Field or relationship tested | order_id |
| Quality dimension | Completeness, uniqueness, freshness, validity, consistency, integrity | Completeness |
| Rule logic | SQL, test configuration, or plain-language assertion | order_id IS NOT NULL |
| Threshold | Pass/fail tolerance | Zero failing rows for certified reporting |
| Severity | Warning, error, blocking | Blocking |
| Owner | Person or team responsible | Analytics Engineering |
| Business impact | What breaks if it fails | Revenue dashboard may undercount orders |
| Run cadence | When it runs | After transformation job |
| Alert channel | Where failures appear | Data quality alerts channel |
| Remediation steps | First actions to take | Check upstream ingestion and recent schema changes |
| Related dashboards | Affected reports | Executive Revenue Dashboard |
| Last reviewed | Review date | 2026-07-11 |
Example SQL Rule
This example follows the common pattern used by SQL-based data tests: return failing rows so the result can be investigated.
-- Example: return orders with missing order_id
select
*
from analytics.fct_orders
where order_id is null;
Example Freshness Rule
-- Example only. Adjust syntax for your SQL dialect.
select
max(updated_at) as latest_update_at
from analytics.fct_orders
having max(updated_at) < current_timestamp - interval '24 hours';
Do not document a freshness threshold just because it sounds rigorous. Tie it to the actual business need. A daily executive dashboard may need different freshness expectations than a monthly finance reconciliation.
Dashboard Documentation: Make Reports Easier to Trust
A dashboard without documentation forces users to guess. They guess what filters do, whether numbers are final, whether the dashboard is approved, and who to ask when something looks wrong.
Dashboard documentation should answer three questions quickly:
- Should I use this dashboard?
- What decisions can I make with it?
- What should I not assume from it?
Dashboard Documentation Template
| Field | What to document | Example |
|---|---|---|
| Dashboard name | Approved name | Executive Revenue Overview |
| Purpose | Why it exists | Tracks finance-approved revenue performance |
| Intended audience | Who should use it | Executives, Finance, RevOps |
| Decision supported | What action it informs | Monthly revenue review |
| Owner | Accountable person | Finance Analytics Manager |
| Technical maintainer | Builder or support owner | BI Developer |
| Certification status | Draft, promoted, certified, deprecated | Certified |
| Refresh cadence | Update schedule | After daily warehouse load |
| Key metrics | Metrics shown | Net Revenue, Gross Revenue, Refunds |
| Filters | User-selectable filters | Region, product line, segment |
| Caveats | Known limitations | Refunds may update after the original order period |
| Data sources | Models/tables used | fct_orders, fct_refunds |
| Quality dependencies | Tests that must pass | Revenue model freshness, order completeness |
| Related dashboards | Alternatives or drilldowns | Revenue Detail Dashboard |
| Access notes | Who can view or request access | Finance and executive workspace |
| Last reviewed | Review date | 2026-07-11 |
Certification Guidance
A “certified” badge should mean more than “someone likes this dashboard.” Define the standard.
A dashboard or BI asset should usually receive a trusted status, such as certified, promoted, verified, approved, or production-ready, only when:
- The business owner has approved the metric definitions.
- The technical owner has reviewed the logic.
- Data quality rules exist for critical inputs.
- The dashboard has a named owner.
- Caveats and refresh cadence are documented.
- Deprecated or duplicate versions are clearly marked.
- There is a review date and change history.
This aligns with how major BI platforms frame trust signals: Power BI uses endorsement to help users identify quality content, and Tableau recommends documenting certification criteria so choices are consistent and understandable.
SQL Snippets: Standardize Logic Without Hiding Context
Reusable SQL snippets are powerful because they reduce duplicated logic. They are risky when people reuse them without understanding what they do.
A good SQL snippet page should include the code, but it should also include purpose, assumptions, dialect, parameters, owner, and examples.
SQL Snippet Template
| Field | What to document | Example |
|---|---|---|
| Snippet name | Clear reusable name | active_customer_filter |
| Purpose | What it standardizes | Filters customers considered active for reporting |
| SQL dialect | Warehouse/tool syntax | BigQuery, Snowflake, Postgres, Redshift |
| Parameters | Inputs users can change | start_date, end_date, region |
| Dependencies | Tables, models, or snippets used | dim_customers, fct_orders |
| Example usage | How to apply it | Include in customer segmentation queries |
| Output assumptions | What the snippet returns | Customer IDs that meet active criteria |
| Owner | Maintainer | Analytics Engineering |
| Review date | Last validation date | 2026-07-11 |
| Caveats | When not to use it | Not suitable for finance retention reporting |
Example SQL Snippet: Active Customers
-- Example only. Confirm date logic and syntax for your warehouse.
where customer_status = 'active'
and deleted_at is null
and first_purchase_at is not null
Example SQL Snippet: Standard Date Spine Join
-- Example only. Adjust table names and SQL dialect.
left join analytics.dim_date as d
on fact_table.event_date = d.calendar_date
Use snippets for repeatable patterns. Do not use them to hide important business definitions. If the snippet affects a metric, link it to the metric definition page.
Governance Workflow: Keep the Knowledge Base Alive
The knowledge base needs a workflow, not just pages.
Recommended Workflow
| Step | What happens | Owner |
|---|---|---|
| Propose | A new metric, dashboard, rule, or snippet is requested | Requester |
| Draft | Initial definition and technical notes are created | Analyst or analytics engineer |
| Review | Business meaning and technical logic are checked | Business owner + technical owner |
| Test | Quality checks and dashboard validation are confirmed | Data/analytics engineering |
| Approve | Asset is marked approved, certified, or production-ready | Data lead or domain owner |
| Publish | Page is added to the knowledge base and linked from tools | Documentation owner |
| Communicate | Relevant users are notified of the new or changed asset | Owner |
| Monitor | Usage, issues, and quality failures are tracked | Data team |
| Review | Asset is reviewed on a defined cadence | Owner |
| Deprecate | Outdated assets are marked and replacement links are added | Owner |
Approval Status Labels
Use simple labels that people understand.
| Status | Meaning |
|---|---|
| Draft | Work in progress; do not use for official reporting |
| Reviewed | Checked by owner but not yet certified |
| Certified | Approved for broad use |
| Deprecated | Should not be used; replacement should be linked |
| Experimental | Useful for exploration but not approved for decisions |
| Blocked | Known issue prevents reliable use |
What to Document First
Do not start with every table in the warehouse. Start with the assets that create the most risk or confusion.
Prioritize:
- Executive dashboards.
- Revenue, customer, product, retention, finance, and operational KPIs.
- Metrics used across multiple departments.
- Dashboards used in recurring leadership meetings.
- SQL copied frequently between analysts.
- Tables or models used by many downstream dashboards.
- Data quality rules tied to critical reporting.
- Definitions that currently cause stakeholder disagreement.
A small, accurate knowledge base for the highest-impact assets is more valuable than a large, stale knowledge base that nobody trusts.
Tooling Options
A Data Team Knowledge Base can live in one tool or across several connected tools.
Option 1: Documentation Platform
Examples include internal wikis, documentation sites, or knowledge management tools.
Best for:
- Narrative explanations.
- Onboarding guides.
- Templates.
- Governance workflows.
- Decision logs.
- Runbooks.
Watch out for:
- Stale pages.
- Weak metadata.
- Poor connection to actual data assets.
Option 2: BI Tool Documentation
BI platforms can be useful for dashboard descriptions, certified content, metric definitions, and content ownership. Metabase, for example, supports metrics, snippets, content verification, and data reference features that can help organize analytics knowledge inside the BI workflow.
Best for:
- Dashboard documentation.
- Report ownership.
- Certified BI assets.
- Reusable queries or snippets.
- User-facing analytics guidance.
Watch out for:
- Documentation trapped inside one BI tool.
- Limited governance context outside dashboards.
Option 3: Data Catalog or Metadata Platform
Best for:
- Dataset discovery.
- Ownership.
- Lineage.
- Glossary terms.
- Tags.
- Technical metadata.
- Relationships between assets.
Watch out for:
- Business users may still need plain-language guides.
- Catalog metadata can be hard to interpret without examples.
Option 4: Version-Controlled Analytics Repository
Best for:
- dbt model documentation.
- Metric logic.
- Tests.
- SQL review.
- Change history.
- Pull-request workflows.
Watch out for:
- Non-technical users may not search Git repositories.
- Business context may be too technical unless summarized elsewhere.
Option 5: Hybrid Model
For many teams, the strongest approach is hybrid:
- Use the data catalog for metadata, lineage, ownership, and asset discovery.
- Use the BI tool for dashboards, certified reports, and user-facing analytics.
- Use dbt or the transformation repository for tested metric and model logic.
- Use the knowledge base as the plain-English operating layer that links everything together.
Implementation Roadmap
Phase 1: Define Scope and Ownership
Start by deciding what the knowledge base is responsible for.
Create a simple charter:
- What belongs in the knowledge base?
- What belongs in the data catalog?
- What belongs in the BI tool?
- Who owns metric definitions?
- Who owns dashboard documentation?
- Who owns data quality rule documentation?
- Who approves changes?
- How will outdated content be removed?
Phase 2: Inventory Critical Assets
Build an inventory of:
- Top business metrics.
- High-visibility dashboards.
- Repeated SQL patterns.
- Critical datasets.
- Existing data tests.
- Known recurring data questions.
- Duplicate dashboards.
- Conflicting metric definitions.
For each item, identify owner, business purpose, current documentation status, and trust level.
Phase 3: Publish Templates
Create templates before creating many pages. Templates keep documentation consistent and reduce friction.
Minimum templates:
- Metric definition template.
- Dashboard documentation template.
- Data quality rule template.
- SQL snippet template.
- Dataset guide template.
- Change request template.
- Deprecation note template.
Phase 4: Document High-Impact Assets
Start with the assets people already use to make decisions.
For each asset:
- Write the plain-language explanation.
- Add technical logic.
- Link related dashboards, datasets, tests, and snippets.
- Assign owners.
- Add review date.
- Add caveats.
- Mark status.
- Add a change log.
Phase 5: Add Governance to Daily Work
The knowledge base should become part of the workflow.
Examples:
- New certified dashboard? Documentation required before launch.
- New company-level KPI? Metric page required before dashboard use.
- New SQL snippet? Owner and review date required.
- New data quality rule? Failure response required.
- Metric change? Change log and stakeholder notification required.
- Deprecated dashboard? Replacement link required.
Phase 6: Measure Usefulness
Do not measure documentation success only by page count.
Better signals include:
- Fewer repeated metric questions.
- More users choosing certified dashboards.
- Lower usage of deprecated dashboards.
- Fewer duplicate reports.
- More knowledge base searches that lead to useful pages.
- Reduced time to onboard new analysts.
- Faster incident response for broken dashboards.
- Fewer unresolved data quality failures.
- Higher percentage of critical metrics with owners and review dates.
Maintenance Checklist
Use this checklist during regular reviews.
| Check | Question |
|---|---|
| Ownership | Does every critical page have a named owner? |
| Review date | Is the page still within its review window? |
| Metric logic | Does the documented formula match implementation? |
| Dashboard links | Are linked dashboards still active? |
| Data sources | Are source tables/models still correct? |
| Quality rules | Are tests still running and meaningful? |
| Caveats | Are known limitations visible? |
| SQL snippets | Are snippets still compatible with current schemas? |
| Status | Are draft, certified, and deprecated labels accurate? |
| Change log | Are recent logic changes recorded? |
| Access notes | Is access guidance still correct? |
| Duplicate content | Are there conflicting pages that should be merged? |
Common Mistakes to Avoid
Mistake 1: Documenting Everything Equally
Not every column, dashboard, or query deserves the same level of detail. Prioritize business-critical and frequently used assets first.
Mistake 2: Writing Definitions Without Owners
A metric without an owner will eventually become a debate. Every critical metric needs a business owner and a technical owner.
Mistake 3: Treating Dashboard Titles as Documentation
A dashboard title does not explain metric logic, filters, caveats, or decision context. Add a dashboard page or embedded documentation.
Mistake 4: Hiding Logic in SQL Snippets
Reusable SQL is helpful, but important business logic still needs plain-language explanation and ownership.
Mistake 5: Creating Certification Without Standards
If “certified” is not defined, users will not know what it means. Certification should require documented logic, ownership, quality checks, and review.
Mistake 6: Ignoring Deprecation
Old dashboards and metrics do not disappear on their own. Mark them clearly, explain why they were deprecated, and link to replacements.
Mistake 7: Separating Quality Checks From Business Impact
A failed test should explain what is affected. If a freshness rule fails, users should know which dashboards or decisions may be impacted.
Mistake 8: Letting Documentation Live Outside the Workflow
If documentation is optional, it will become stale. Add documentation requirements to launch, certification, review, and change processes.
Example: Complete Knowledge Base Entry for a Dashboard
# Executive Revenue Overview
## Status
Certified
## Purpose
This dashboard provides the approved executive view of revenue performance.
## Intended Audience
- Executive team
- Finance
- Revenue operations
- Data leadership
## Decisions Supported
- Monthly revenue review
- Regional performance analysis
- Product-line revenue comparison
## Key Metrics
- Net Revenue
- Gross Revenue
- Refunds
- Discount Amount
- Revenue by Region
## Metric Definitions
- Net Revenue: linked to the approved Net Revenue metric page
- Gross Revenue: linked to the approved Gross Revenue metric page
## Data Sources
- `analytics.fct_order_items`
- `analytics.fct_refunds`
- `analytics.dim_customers`
- `analytics.dim_date`
## Refresh Cadence
Refreshes after the daily warehouse transformation job completes.
## Quality Dependencies
- `order_id_not_null`
- `payment_status_accepted_values`
- `fct_order_items_freshness`
- `refund_amount_non_negative`
## Filters
- Region
- Product line
- Customer segment
- Date range
## Caveats
- Refunds may update after the original order period.
- Test orders are excluded.
- This dashboard should not be used for payment processor settlement reconciliation.
## Owner
Business owner: Finance
Technical owner: BI Engineering
## Change Log
- 2026-07-11: Added refund caveat and linked updated Net Revenue definition.
FAQ
What is a Data Team Knowledge Base?
A Data Team Knowledge Base is a governed documentation hub for the definitions, rules, dashboards, SQL snippets, ownership, and workflows that help people understand and trust data.
What should a data team knowledge base include?
It should include metric definitions, dashboard documentation, data quality rules, SQL snippets, glossary terms, dataset guides, ownership, review dates, change history, and links to source systems.
How is it different from a data catalog?
A data catalog helps people discover data assets, metadata, lineage, and ownership. A knowledge base explains how to use important assets in practice, including business meaning, caveats, examples, and governance workflows.
How is it different from a business glossary?
A business glossary defines shared business terms. A Data Team Knowledge Base may include or link to the glossary, but it also documents dashboards, metric logic, quality checks, SQL snippets, and operational processes.
Who should own the knowledge base?
The data team should own the system, but individual assets should have domain owners. For example, finance may own revenue definitions, analytics engineering may own SQL snippets, and BI owners may maintain dashboard documentation.
How do you prevent different teams from using different KPI definitions?
Create approved metric pages, assign business and technical owners, link metrics to dashboards and semantic models, review changes through a workflow, and clearly mark deprecated definitions.
How should reusable SQL snippets be governed?
Each snippet should have a name, purpose, SQL dialect, dependencies, owner, example usage, caveats, review date, and change history. Snippets that affect official metrics should link to the relevant metric definition.
How often should the knowledge base be reviewed?
Review frequency should depend on business risk and usage. Critical executive metrics and dashboards need more frequent review than low-risk exploratory assets. Every critical page should have a visible review date.
What should be documented first?
Start with high-impact metrics, executive dashboards, recurring stakeholder questions, widely copied SQL, critical datasets, and known sources of metric disagreement.
How do you keep documentation from becoming stale?
Make documentation part of the workflow. Require updates when metrics change, dashboards are certified, SQL snippets are published, quality rules are added, or assets are deprecated.
Conclusion
A Data Team Knowledge Base is most valuable when it becomes part of how the data team works every day. It should not be a separate archive that people update only after problems happen.
The strongest knowledge bases make metric definitions explicit, connect dashboards to owners and caveats, document data quality rules with remediation paths, and turn reusable SQL into governed building blocks. They help business users make better decisions and help data teams reduce repeated questions, duplicated logic, and avoidable trust issues.
Start small. Document the assets that matter most. Assign owners. Add review dates. Connect business meaning to technical implementation. Then make the knowledge base a required step in every important analytics change.



