.yml
files.
If your dbt model has been defined in a .yml file, it will appear in Lightdash as a Table.
Community stats daily
model we’ve defined in dbt. In Lightdash, we can see it in our list of available Tables to explore.
Don't have NodeJS/NPM installed in your system?
20.8.0
which means you’ve succesfully installed NodeJS/NPM npm ERR! code EACCES
error while installing the Lightdash CLI, follow this guide to resolve it.{{ lightdash_domain }}
is app.lightdash.cloud
for Lightdash Cloud users. Or your own domain if self-hosting. If you want to login using another method, then you can check out our authentication methods here.
Dimensions
.
For example, if we have a projects.yml
file, we’d have a Table called Projects
and it would have the dimensions: Dashboards created num total
and Days since project created
.
Error: Not a dbt project (or any of the parent directories). Missing dbt\_project.yml file
Make sure that you’re in your dbt project folder (i.e. where your dbt_project.yml
file is) before you try doing lightdash dbt run
If you only want to generate Tables and dimensions for ***some*** of the models in your dbt project, check this out
tags
to tag these models. You can use sets of existing tags, or you can create a new Lightdash-specific tag. Something like this:lightdash dbt run
command supports dbt model selection syntax to generate .yml files for a group of models. This means you can use tags or other model selection syntax to specify which models you want to generate dimensions for in your dbt project.profiles.yml
file. So, you might want to update your connection settings to: