diff --git a/docs/4_analytics.md b/docs/4_analytics.md index b5c83cc..0911535 100644 --- a/docs/4_analytics.md +++ b/docs/4_analytics.md @@ -941,24 +941,7 @@ models: 4. Define the macros at `macros/get_payment_type_description.sql` -```sql -{# - This macro returns the description of the payment_type -#} - -{% `macro` get_payment_type_description(payment_type) -%} - - case {{ payment_type }} - when 1 then 'Credit card' - when 2 then 'Cash' - when 3 then 'No charge' - when 4 then 'Dispute' - when 5 then 'Unknown' - when 6 then 'Voided trip' - end - -{%- endmacro %} -``` +![alt text](../images/image-143.png) 5. define the variables at `dbt_project.yml` diff --git a/images/image-143.png b/images/image-143.png new file mode 100644 index 0000000..d9d50cf Binary files /dev/null and b/images/image-143.png differ