New Dash bug fix
This commit is contained in:
parent
39fc6a7d13
commit
d065d4beb6
1 changed files with 3 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ with
|
||||||
int_core__booking_service_detail as (
|
int_core__booking_service_detail as (
|
||||||
select * from {{ ref("int_core__booking_service_detail") }}
|
select * from {{ ref("int_core__booking_service_detail") }}
|
||||||
),
|
),
|
||||||
|
int_core__booking_summary as (select * from {{ ref("int_core__booking_summary") }}),
|
||||||
bundle_services as (
|
bundle_services as (
|
||||||
select
|
select
|
||||||
bs.id_user_product_bundle,
|
bs.id_user_product_bundle,
|
||||||
|
|
@ -201,6 +202,8 @@ with
|
||||||
end
|
end
|
||||||
) as number_bookings_with_service_status_flagged
|
) as number_bookings_with_service_status_flagged
|
||||||
from int_core__booking_service_detail sd
|
from int_core__booking_service_detail sd
|
||||||
|
left join int_core__booking_summary bs on sd.id_booking = bs.id_booking
|
||||||
|
where bs.is_user_in_new_dash = true and bs.is_missing_id_deal = false
|
||||||
group by 1
|
group by 1
|
||||||
)
|
)
|
||||||
select
|
select
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue