Metrics are defined in your model's YAML file, right beside your columns!
Metrics are quantitative measurements. You can think of them as "actions" that you take on dimensions. For example, num unique user ids is a metric that counts the unique number user_id values.
You add metrics to your YAML files under the
meta tag at the column level.
For more information on the types of metrics you can add, check out the metrics reference page.
Once you've added a metric to your dbt project, you can sync the changes in Lightdash by clicking on the refresh button in the app.
Your new metrics will appear in the list above dimensions in your table!