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: