> ## Documentation Index
> Fetch the complete documentation index at: https://lightdash-mintlify-6b34ac85.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# An intro to metrics and dimensions

## 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:

<img src="https://mintcdn.com/lightdash-mintlify-6b34ac85/Vx4hYDq85AIgCLbv/images/get-started/exploring-data/intro-metrics-dimensions/data-question-fcb8af7318d2ac3fbc99c7332cbd4fc6.jpg?fit=max&auto=format&n=Vx4hYDq85AIgCLbv&q=85&s=023842e15cdd12c1df888d5a781f27a5" alt="" width="2007" height="453" data-path="images/get-started/exploring-data/intro-metrics-dimensions/data-question-fcb8af7318d2ac3fbc99c7332cbd4fc6.jpg" />

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:

<Frame>
  <img src="https://mintcdn.com/lightdash-mintlify-6b34ac85/Vx4hYDq85AIgCLbv/images/get-started/exploring-data/intro-metrics-dimensions/what-are-metrics-and-dimensions.png?fit=max&auto=format&n=Vx4hYDq85AIgCLbv&q=85&s=a702ecdd8d6c3fbbbb08eb12dd2931fa" width="2307" height="690" data-path="images/get-started/exploring-data/intro-metrics-dimensions/what-are-metrics-and-dimensions.png" />
</Frame>

To learn more about why we use dimensions and metrics in Lightdash, [read the Lightdash approach to BI](/best-practice/lightdash-way).
