diff --git a/dbt_project/models/CLEANED/orders_cleaned.sql b/dbt_project/models/CLEANED/orders_cleaned.sql index 5726a4b4..4a95237a 100644 --- a/dbt_project/models/CLEANED/orders_cleaned.sql +++ b/dbt_project/models/CLEANED/orders_cleaned.sql @@ -6,7 +6,7 @@ select sku, dt, cast(dt as datetime) as order_date, - date_trunc('month', order_date) as order_month + date_trunc('month', order_date) as order_month, quantity * purchase_price as order_total from {{ source("RAW_DATA", "orders") }} {% if is_incremental() %}