reporting table
This commit is contained in:
parent
cf93b58092
commit
177c07d683
3 changed files with 10 additions and 3 deletions
3
models/reporting/rpg_core_dq_dealid_health.sql
Normal file
3
models/reporting/rpg_core_dq_dealid_health.sql
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
with wkg_core_dq_dealid_health as (select * from {{ ref("wkg_core_dq_dealid_health") }})
|
||||
select *
|
||||
from wkg_core_dq_dealid_health
|
||||
4
models/working/wkg_core_dq_dealid_health.sql
Normal file
4
models/working/wkg_core_dq_dealid_health.sql
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
with wkg_core_unified_user as (select * from {{ ref("wkg_core_unified_user") }})
|
||||
select id_deal, count(1) as users_with_this_id_deal
|
||||
from wkg_core_unified_user
|
||||
group by id_deal
|
||||
Loading…
Add table
Add a link
Reference in a new issue