changed names
This commit is contained in:
parent
49a10fe249
commit
f7bacc2310
2 changed files with 17 additions and 12 deletions
|
|
@ -208,10 +208,10 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"order_by": 102,
|
"order_by": 102,
|
||||||
"metric": "Host Resolution Payment Rate",
|
"metric": "Host Resolutions Payment Rate",
|
||||||
"value": "xero_host_resolution_payment_ratio",
|
"value": "host_resolution_payment_per_created_booking_ratio",
|
||||||
"previous_year_value": "previous_year_xero_host_resolution_payment_ratio",
|
"previous_year_value": "previous_year_host_resolution_payment_per_created_booking_ratio",
|
||||||
"relative_increment": "relative_increment_xero_host_resolution_payment_ratio",
|
"relative_increment": "relative_increment_host_resolution_payment_per_created_booking_ratio",
|
||||||
"number_format": "percentage",
|
"number_format": "percentage",
|
||||||
"increment_sign_format": "negative",
|
"increment_sign_format": "negative",
|
||||||
},
|
},
|
||||||
|
|
@ -559,10 +559,10 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"order_by": 271,
|
"order_by": 271,
|
||||||
"metric": "Host Resolutions Amount Paid per Booking",
|
"metric": "Host Resolutions Amount Paid per Booking Created",
|
||||||
"value": "xero_host_resolution_payment_per_booking_in_gbp",
|
"value": "host_resolution_amount_paid_per_created_booking",
|
||||||
"previous_year_value": "previous_year_xero_host_resolution_payment_per_booking_in_gbp",
|
"previous_year_value": "previous_year_host_resolution_amount_paid_per_created_booking",
|
||||||
"relative_increment": "relative_increment_xero_host_resolution_payment_per_booking_in_gbp",
|
"relative_increment": "relative_increment_host_resolution_amount_paid_per_created_booking",
|
||||||
"number_format": "currency_gbp",
|
"number_format": "currency_gbp",
|
||||||
"increment_sign_format": "negative",
|
"increment_sign_format": "negative",
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -288,9 +288,10 @@ with
|
||||||
host_resolutions.xero_host_resolution_payment_count,
|
host_resolutions.xero_host_resolution_payment_count,
|
||||||
cast(host_resolutions.xero_host_resolution_amount_paid_in_gbp as decimal)
|
cast(host_resolutions.xero_host_resolution_amount_paid_in_gbp as decimal)
|
||||||
/ created_bookings.created_bookings
|
/ created_bookings.created_bookings
|
||||||
as xero_host_resolution_payment_per_booking_in_gbp,
|
as host_resolution_amount_paid_per_created_booking,
|
||||||
cast(host_resolutions.xero_host_resolution_payment_count as decimal)
|
cast(host_resolutions.xero_host_resolution_payment_count as decimal)
|
||||||
/ created_bookings.created_bookings as xero_host_resolution_payment_ratio,
|
/ created_bookings.created_bookings
|
||||||
|
as host_resolution_payment_per_created_booking_ratio,
|
||||||
|
|
||||||
-- GUEST REVENUE AND PAYMENTS --
|
-- GUEST REVENUE AND PAYMENTS --
|
||||||
guest_payments.deposit_fees_in_gbp,
|
guest_payments.deposit_fees_in_gbp,
|
||||||
|
|
@ -558,10 +559,14 @@ select
|
||||||
{{ calculate_safe_relative_increment("xero_host_resolution_payment_count") }},
|
{{ calculate_safe_relative_increment("xero_host_resolution_payment_count") }},
|
||||||
{{
|
{{
|
||||||
calculate_safe_relative_increment(
|
calculate_safe_relative_increment(
|
||||||
"xero_host_resolution_payment_per_booking_in_gbp"
|
"host_resolution_amount_paid_per_created_booking"
|
||||||
|
)
|
||||||
|
}},
|
||||||
|
{{
|
||||||
|
calculate_safe_relative_increment(
|
||||||
|
"host_resolution_payment_per_created_booking_ratio"
|
||||||
)
|
)
|
||||||
}},
|
}},
|
||||||
{{ calculate_safe_relative_increment("xero_host_resolution_payment_ratio") }},
|
|
||||||
|
|
||||||
-- GUEST REVENUE --
|
-- GUEST REVENUE --
|
||||||
{{ calculate_safe_relative_increment("deposit_fees_in_gbp") }},
|
{{ calculate_safe_relative_increment("deposit_fees_in_gbp") }},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue