Merged PR 4887: Adds audit helper + finishes KPIs Refactor Stage 1

# Description

Adds audit helper.
Removes computation of Total and Retained Revenue from cross models.

I've tested audit helper and the trick with the hashes, as discussed in the demo.

# Checklist

- [X] The edited models and dependants run properly with production data.
- [X] The edited models are sufficiently documented.
- [X] The edited models contain PK tests, and I've ran and passed them. **Except for today's outlier detector!**
- [X] I have checked for DRY opportunities with other models and docs.
- [X] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Related work items: #28946
This commit is contained in:
Oriol Roqué Paniagua 2025-04-02 14:03:33 +00:00
parent 4bef83f432
commit 0fd9b2ce06
4 changed files with 55 additions and 128 deletions

View file

@ -4,4 +4,6 @@ packages:
- package: calogica/dbt_expectations
version: [">=0.9.0", "<0.10.0"]
- package: dbt-labs/dbt_utils
version: 1.2.0
version: 1.2.0
- package: dbt-labs/audit_helper
version: 0.12.1