Skip to content

Commit

Permalink
update timespine guide
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 committed Feb 7, 2025
1 parent eab8830 commit 8ab5852
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions website/docs/guides/mf-time-spine.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ recently_updated: true

This guide explains how to configure a time spine using the [dbt Semantic Layer Jaffle shop example project](https://github.com/dbt-labs/jaffle-sl-template) as a reference.

### Prerequisites
Before you start, make sure you have:

- A dbt project set up. If you don't have one, follow the [Quickstart guides](/guides?tags=Quickstart) guide to help you get started.

### What is a time spine?

A [time spine](/docs/build/metricflow-time-spine) is essential for time-based joins and aggregations in MetricFlow, the engine that powers the dbt Semantic Layer. It can be created from scratch or configured using an existing table (like a `dim_date` table).
Expand All @@ -30,6 +25,11 @@ To use MetricFlow with time-based metrics and dimensions, you must provide a tim

And once you have a time spine table, you need to configure it in YAML to tell MetricFlow how to use it. This guide will show you how to do both!

### Prerequisites
Before you start, make sure you have:

- A dbt project set up. If you don't have one, follow the [Quickstart guides](/guides?tags=Quickstart) guide to help you get started.

## Add a time spine SQL model

Let's get started by assuming you're creating a time spine table from scratch. If you have a dbt project set up already and have your own time spine table (like a `dim_date` type model), you can skip this step and go to [Use an existing dim_date table](https://docs.getdbt.com//guides/mf-time-spine#using-an-existing-dim-date-table).
Expand Down

0 comments on commit 8ab5852

Please sign in to comment.