Skip to main content

What are metrics and dimensions?

Metrics and dimensions are defined in your dbt project alongside your dbt model properties.
  • Dimensions are used to segment data in your Tables.
  • Metrics are used to perform calculations on your Tables.
Say weโ€™re running an ecommerce business, we probably have a table containing all order data. We might want to ask: This question can be answered using a single metric โ€œthe total number of unique ordersโ€ and a single dimension for splitting the metric by โ€œstatus of orderโ€. In Lightdash youโ€™d get the following chart:
To learn more about why we use dimensions and metrics in Lightdash, read the Lightdash approach to BI.