From 8ab5852d414f80f9258627113475e79fdd90c21f Mon Sep 17 00:00:00 2001 From: mirnawong1 Date: Fri, 7 Feb 2025 18:09:18 +0000 Subject: [PATCH] update timespine guide --- website/docs/guides/mf-time-spine.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/website/docs/guides/mf-time-spine.md b/website/docs/guides/mf-time-spine.md index d611f519fb6..52133dcebe7 100644 --- a/website/docs/guides/mf-time-spine.md +++ b/website/docs/guides/mf-time-spine.md @@ -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). @@ -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).