Configuration

Configurable variables

Variables adapt core.dashboards_store models without replacing their SQL. Define them in the vars section of cssXX.dashboards_store/dbt_project.yml.

Configuring dbt variables

Variables adapt core.dashboards_store models without replacing their SQL. Define them in the vars section of cssXX.dashboards_store/dbt_project.yml.

is_context_core is an internal variable generated by the template. Do not change it.

Available variables

VariableDefaultUsage
school_year_start_month9First month used by get_school_year for HR activity, as an integer from 1 to 12.
current_yearAutomatically inferredOverrides the current year calculated by get_current_year.
database_paieMust be configuredFully qualified name of the PAIE database.
database_gpiMust be configuredFully qualified name of the GPI database.
database_jadeMust be configuredFully qualified name of the JADE database.
database_prodromeMust be configuredFully qualified name of the PRODROME database.
interfaces.gpi.max_etapes30Maximum number of steps generated from GPI.
interfaces.gpi.max_periodes20Maximum number of periods generated from GPI.
marts.educ_serv.recency.years_of_data_absences10Number of years of absence data to retain.
marts.educ_serv.recency.years_of_data_grades10Number of years of grade data to retain.
dashboards.res_epreuves.cod_cssRequired for res_epreuvesExpression used to restrict results to the school service centre.
emp_actif.nbrs_sem_dern_paie1Accepted number of weeks since the last pay.
res_scolaires.threshold70High achievement threshold, as a percentage.

The database_* variables are detailed on the Linking the databases page. Variables specific to a dashboard are also explained on that dashboard's page.

Overriding a Core default

Place package-specific variables under the core_dashboards_store key. For example, for a school year that starts in July:

# cssXX.dashboards_store/dbt_project.yml
vars:
  core_dashboards_store:
    school_year_start_month: 7

Without this override, Core uses September. A value below 1, above 12, or that is not an integer raises an explicit compilation error.

Copyright © 2026