Initial publish of dbt_f2dq (f2dq) package v0.12.1.
Clean package repo for Gitea installs via packages.yml git URL. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
{% macro percentage_formula(summation, total) %}
|
||||
abs(
|
||||
(
|
||||
cast({{ summation }} as {{ numeric_type() }})
|
||||
) /
|
||||
nullif(
|
||||
cast( {{ total }} as {{ numeric_type() }} )
|
||||
, 0) * 100.0
|
||||
)
|
||||
{% endmacro %}
|
||||
Reference in New Issue
Block a user