Setting Up Jinja Variables

Learn how to use the set instruction and the if statement in Jinja.

Jinja variables

In addition to project and environment variables, dbt allows us to define variables at the file level. This is done using the set instruction.

Get hands-on with 1300+ tech skills courses.