diff --git a/models/intermediate/cross/int_ytd_mtd_main_metrics_overview.sql b/models/intermediate/cross/int_ytd_mtd_main_metrics_overview.sql new file mode 100644 index 0000000..913a889 --- /dev/null +++ b/models/intermediate/cross/int_ytd_mtd_main_metrics_overview.sql @@ -0,0 +1,309 @@ +with + int_mtd_vs_previous_year_metrics as ( + select * from {{ ref("int_mtd_vs_previous_year_metrics") }} + ), + mtd_main_metrics_overview as ( + select + -- Time-based attributes -- + year as calendar_year, + case + when month >= 4 + then year + 1 -- Financial Year labeled by the next year + else year -- Financial Year labeled by the current year + end as financial_year, + date, + previous_year_date, + + -- Dimension/Value -- + dimension, + dimension_value, + + -- Current Month, Month To Date Metrics -- + total_revenue_in_gbp as current_month_mtd_total_revenue_in_gbp, + revenue_retained_post_resolutions_in_gbp + as current_month_mtd_revenue_retained_post_resolutions_in_gbp, + total_guest_payments_in_gbp + as current_month_mtd_total_guest_payments_in_gbp, + xero_operator_net_fees_in_gbp + as current_month_mtd_xero_operator_net_fees_in_gbp, + xero_apis_net_fees_in_gbp as current_month_mtd_xero_apis_net_fees_in_gbp, + xero_host_resolution_amount_paid_in_gbp + as current_month_mtd_xero_host_resolution_amount_paid_in_gbp, + xero_waiver_paid_back_to_host_in_gbp + as current_month_mtd_xero_waiver_paid_back_to_host_in_gbp, + billable_bookings as current_month_mtd_billable_bookings, + new_deals as current_month_mtd_new_deals, + churning_deals as current_month_mtd_churning_deals, + live_deals as current_month_mtd_live_deals, + waiver_payments_in_gbp as current_month_mtd_waiver_payments_in_gbp, + + -- Previous Year (12 months ago), Month To Date Metrics -- + previous_year_total_revenue_in_gbp + as previous_year_mtd_total_revenue_in_gbp, + previous_year_revenue_retained_post_resolutions_in_gbp + as previous_year_mtd_revenue_retained_post_resolutions_in_gbp, + previous_year_total_guest_payments_in_gbp + as previous_year_mtd_total_guest_payments_in_gbp, + previous_year_xero_operator_net_fees_in_gbp + as previous_year_mtd_xero_operator_net_fees_in_gbp, + previous_year_xero_apis_net_fees_in_gbp + as previous_year_mtd_xero_apis_net_fees_in_gbp, + previous_year_xero_host_resolution_amount_paid_in_gbp + as previous_year_mtd_xero_host_resolution_amount_paid_in_gbp, + previous_year_xero_waiver_paid_back_to_host_in_gbp + as previous_year_mtd_xero_waiver_paid_back_to_host_in_gbp, + previous_year_billable_bookings as previous_year_mtd_billable_bookings, + previous_year_new_deals as previous_year_mtd_new_deals, + previous_year_churning_deals as previous_year_mtd_churning_deals, + previous_year_live_deals as previous_year_mtd_live_deals, + previous_year_waiver_payments_in_gbp + as previous_year_mtd_waiver_payments_in_gbp, + + -- Previous Month, End Of Month Metrics -- + lag(total_revenue_in_gbp) over ( + partition by dimension, dimension_value order by date + ) as previous_month_eom_total_revenue_in_gbp, + lag(revenue_retained_post_resolutions_in_gbp) over ( + partition by dimension, dimension_value order by date + ) as previous_month_eom_revenue_retained_post_resolutions_in_gbp, + lag(total_guest_payments_in_gbp) over ( + partition by dimension, dimension_value order by date + ) as previous_month_eom_total_guest_payments_in_gbp, + lag(xero_operator_net_fees_in_gbp) over ( + partition by dimension, dimension_value order by date + ) as previous_month_eom_xero_operator_net_fees_in_gbp, + lag(xero_apis_net_fees_in_gbp) over ( + partition by dimension, dimension_value order by date + ) as previous_month_eom_xero_apis_net_fees_in_gbp, + lag(xero_host_resolution_amount_paid_in_gbp) over ( + partition by dimension, dimension_value order by date + ) as previous_month_eom_xero_host_resolution_amount_paid_in_gbp, + lag(xero_waiver_paid_back_to_host_in_gbp) over ( + partition by dimension, dimension_value order by date + ) as previous_month_eom_xero_waiver_paid_back_to_host_in_gbp, + lag(billable_bookings) over ( + partition by dimension, dimension_value order by date + ) as previous_month_eom_billable_bookings, + lag(new_deals) over ( + partition by dimension, dimension_value order by date + ) as previous_month_eom_new_deals, + lag(churning_deals) over ( + partition by dimension, dimension_value order by date + ) as previous_month_eom_churning_deals, + lag(live_deals) over ( + partition by dimension, dimension_value order by date + ) as previous_month_eom_live_deals, + lag(waiver_payments_in_gbp) over ( + partition by dimension, dimension_value order by date + ) as previous_month_eom_waiver_payments_in_gbp + + from int_mtd_vs_previous_year_metrics + where + is_end_of_month_or_yesterday = true + -- Keeping only global dimension to start with + and dimension = 'global' + + ), + ytd_mtd_main_metrics_overview as ( + select + -- Keep all Time Attributes, Dimension/Value and Month/MTD metrics + *, + -- Current Financial Year, Year To Date Metrics + sum(current_month_mtd_total_revenue_in_gbp) over ( + partition by financial_year, dimension, dimension_value + order by date + rows between unbounded preceding and current row + ) as current_ytd_total_revenue_in_gbp, + sum(current_month_mtd_revenue_retained_post_resolutions_in_gbp) over ( + partition by financial_year, dimension, dimension_value + order by date + rows between unbounded preceding and current row + ) as current_ytd_revenue_retained_post_resolutions_in_gbp, + sum(current_month_mtd_total_guest_payments_in_gbp) over ( + partition by financial_year, dimension, dimension_value + order by date + rows between unbounded preceding and current row + ) as current_ytd_total_guest_payments_in_gbp, + sum(current_month_mtd_xero_operator_net_fees_in_gbp) over ( + partition by financial_year, dimension, dimension_value + order by date + rows between unbounded preceding and current row + ) as current_ytd_xero_operator_net_fees_in_gbp, + sum(current_month_mtd_xero_apis_net_fees_in_gbp) over ( + partition by financial_year, dimension, dimension_value + order by date + rows between unbounded preceding and current row + ) as current_ytd_xero_apis_net_fees_in_gbp, + sum(current_month_mtd_xero_host_resolution_amount_paid_in_gbp) over ( + partition by financial_year, dimension, dimension_value + order by date + rows between unbounded preceding and current row + ) as current_ytd_xero_host_resolution_amount_paid_in_gbp, + sum(current_month_mtd_xero_waiver_paid_back_to_host_in_gbp) over ( + partition by financial_year, dimension, dimension_value + order by date + rows between unbounded preceding and current row + ) as current_ytd_xero_waiver_paid_back_to_host_in_gbp, + sum(current_month_mtd_billable_bookings) over ( + partition by financial_year, dimension, dimension_value + order by date + rows between unbounded preceding and current row + ) as current_ytd_billable_bookings, + sum(current_month_mtd_new_deals) over ( + partition by financial_year, dimension, dimension_value + order by date + rows between unbounded preceding and current row + ) as current_ytd_new_deals, + sum(current_month_mtd_churning_deals) over ( + partition by financial_year, dimension, dimension_value + order by date + rows between unbounded preceding and current row + ) as current_ytd_churning_deals, + sum(current_month_mtd_waiver_payments_in_gbp) over ( + partition by financial_year, dimension, dimension_value + order by date + rows between unbounded preceding and current row + ) as current_ytd_waiver_payments_in_gbp, + -- Specific treatment for live_deals as it is a counter + current_month_mtd_live_deals as current_ytd_live_deals, + + -- Previous Financial Year, Year To Date Metrics + sum(previous_year_mtd_total_revenue_in_gbp) over ( + partition by financial_year, dimension, dimension_value + order by date + rows between unbounded preceding and current row + ) as previous_ytd_total_revenue_in_gbp, + sum(previous_year_mtd_revenue_retained_post_resolutions_in_gbp) over ( + partition by financial_year, dimension, dimension_value + order by date + rows between unbounded preceding and current row + ) as previous_ytd_revenue_retained_post_resolutions_in_gbp, + sum(previous_year_mtd_total_guest_payments_in_gbp) over ( + partition by financial_year, dimension, dimension_value + order by date + rows between unbounded preceding and current row + ) as previous_ytd_total_guest_payments_in_gbp, + sum(previous_year_mtd_xero_operator_net_fees_in_gbp) over ( + partition by financial_year, dimension, dimension_value + order by date + rows between unbounded preceding and current row + ) as previous_ytd_xero_operator_net_fees_in_gbp, + sum(previous_year_mtd_xero_apis_net_fees_in_gbp) over ( + partition by financial_year, dimension, dimension_value + order by date + rows between unbounded preceding and current row + ) as previous_ytd_xero_apis_net_fees_in_gbp, + sum(previous_year_mtd_xero_host_resolution_amount_paid_in_gbp) over ( + partition by financial_year, dimension, dimension_value + order by date + rows between unbounded preceding and current row + ) as previous_ytd_xero_host_resolution_amount_paid_in_gbp, + sum(previous_year_mtd_xero_waiver_paid_back_to_host_in_gbp) over ( + partition by financial_year, dimension, dimension_value + order by date + rows between unbounded preceding and current row + ) as previous_ytd_xero_waiver_paid_back_to_host_in_gbp, + sum(previous_year_mtd_billable_bookings) over ( + partition by financial_year, dimension, dimension_value + order by date + rows between unbounded preceding and current row + ) as previous_ytd_billable_bookings, + sum(previous_year_mtd_new_deals) over ( + partition by financial_year, dimension, dimension_value + order by date + rows between unbounded preceding and current row + ) as previous_ytd_new_deals, + sum(previous_year_mtd_churning_deals) over ( + partition by financial_year, dimension, dimension_value + order by date + rows between unbounded preceding and current row + ) as previous_ytd_churning_deals, + sum(previous_year_mtd_waiver_payments_in_gbp) over ( + partition by financial_year, dimension, dimension_value + order by date + rows between unbounded preceding and current row + ) as previous_ytd_waiver_payments_in_gbp, + -- Specific treatment for live_deals as it is a counter + previous_year_mtd_live_deals as previous_ytd_live_deals + + from mtd_main_metrics_overview + ) +select + -- Keep all Time Attributes, Dimension/Value, Month/MTD metrics and YTD metrics + *, + -- Compute Derived Metrics -- + -- Current Month, Month To Date Metrics -- + abs(coalesce(current_month_mtd_xero_waiver_paid_back_to_host_in_gbp, 0)) / nullif( + current_month_mtd_waiver_payments_in_gbp, 0 + ) as current_month_mtd_waiver_payout_rate, + abs( + coalesce(current_month_mtd_xero_host_resolution_amount_paid_in_gbp, 0) + ) / nullif( + current_month_mtd_total_revenue_in_gbp, 0 + ) as current_month_mtd_resolutions_payout_rate, + coalesce(current_month_mtd_xero_operator_net_fees_in_gbp, 0) / nullif( + current_month_mtd_billable_bookings, 0 + ) as current_month_mtd_operator_revenue_per_billable_booking, + coalesce(current_month_mtd_waiver_payments_in_gbp, 0) / nullif( + current_month_mtd_billable_bookings, 0 + ) as current_month_mtd_waiver_revenue_per_billable_booking, + + -- Previous Year (12 months ago), Month To Date Metrics -- + abs(coalesce(previous_year_mtd_xero_waiver_paid_back_to_host_in_gbp, 0)) / nullif( + previous_year_mtd_waiver_payments_in_gbp, 0 + ) as previous_year_mtd_waiver_payout_rate, + abs( + coalesce(previous_year_mtd_xero_host_resolution_amount_paid_in_gbp, 0) + ) / nullif( + previous_year_mtd_total_revenue_in_gbp, 0 + ) as previous_year_mtd_resolutions_payout_rate, + coalesce(previous_year_mtd_xero_operator_net_fees_in_gbp, 0) / nullif( + previous_year_mtd_billable_bookings, 0 + ) as previous_year_mtd_operator_revenue_per_billable_booking, + coalesce(previous_year_mtd_waiver_payments_in_gbp, 0) / nullif( + previous_year_mtd_billable_bookings, 0 + ) as previous_year_mtd_waiver_revenue_per_billable_booking, + + -- Previous Month, End Of Month Metrics -- + abs(coalesce(previous_month_eom_xero_waiver_paid_back_to_host_in_gbp, 0)) / nullif( + previous_month_eom_waiver_payments_in_gbp, 0 + ) as previous_month_eom_waiver_payout_rate, + abs( + coalesce(previous_month_eom_xero_host_resolution_amount_paid_in_gbp, 0) + ) / nullif( + previous_month_eom_total_revenue_in_gbp, 0 + ) as previous_month_eom_resolutions_payout_rate, + coalesce(previous_month_eom_xero_operator_net_fees_in_gbp, 0) / nullif( + previous_month_eom_billable_bookings, 0 + ) as previous_month_eom_operator_revenue_per_billable_booking, + coalesce(previous_month_eom_waiver_payments_in_gbp, 0) / nullif( + previous_month_eom_billable_bookings, 0 + ) as previous_month_eom_waiver_revenue_per_billable_booking, + + -- Current Financial Year, Year To Date Metrics -- + abs(coalesce(current_ytd_xero_waiver_paid_back_to_host_in_gbp, 0)) + / nullif(current_ytd_waiver_payments_in_gbp, 0) as current_ytd_waiver_payout_rate, + abs(coalesce(current_ytd_xero_host_resolution_amount_paid_in_gbp, 0)) / nullif( + current_ytd_total_revenue_in_gbp, 0 + ) as current_ytd_resolutions_payout_rate, + coalesce(current_ytd_xero_operator_net_fees_in_gbp, 0) / nullif( + current_ytd_billable_bookings, 0 + ) as current_ytd_operator_revenue_per_billable_booking, + coalesce(current_ytd_waiver_payments_in_gbp, 0) / nullif( + current_ytd_billable_bookings, 0 + ) as current_ytd_waiver_revenue_per_billable_booking, + + -- Previous Financial Year, Year To Date Metrics -- + abs(coalesce(previous_ytd_xero_waiver_paid_back_to_host_in_gbp, 0)) + / nullif(previous_ytd_waiver_payments_in_gbp, 0) as previous_ytd_waiver_payout_rate, + abs(coalesce(previous_ytd_xero_host_resolution_amount_paid_in_gbp, 0)) / nullif( + previous_ytd_total_revenue_in_gbp, 0 + ) as previous_ytd_resolutions_payout_rate, + coalesce(previous_ytd_xero_operator_net_fees_in_gbp, 0) / nullif( + previous_ytd_billable_bookings, 0 + ) as previous_ytd_operator_revenue_per_billable_booking, + coalesce(previous_ytd_waiver_payments_in_gbp, 0) / nullif( + previous_ytd_billable_bookings, 0 + ) as previous_ytd_waiver_revenue_per_billable_booking + +from ytd_mtd_main_metrics_overview diff --git a/models/intermediate/cross/schema.yml b/models/intermediate/cross/schema.yml index 3f8fb50..73ccd8f 100644 --- a/models/intermediate/cross/schema.yml +++ b/models/intermediate/cross/schema.yml @@ -1806,3 +1806,368 @@ models: Total expected Onboarding MRR. This is calculated by multiplying the expected MRR per deal by the number of new deals. For the "global" dimension, it is the sum of all expected MRRs across segments. + + - name: int_ytd_mtd_main_metrics_overview + description: | + This model provides a high-level overview of the main metrics for the month-to-date + and financial year-to-date periods. + + data_tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - date + - dimension + - dimension_value + + columns: + - name: date + data_type: date + description: The date for the month-to-date and year-to-date metrics. + data_tests: + - not_null + + - name: dimension + data_type: string + description: The dimension or granularity of the metrics. + data_tests: + - accepted_values: + values: + - global + + - name: dimension_value + data_type: string + description: The value or segment available for the selected dimension. + data_tests: + - not_null + + - name: calendar_year + data_type: integer + description: The calendar year associated with the data. + + - name: financial_year + data_type: integer + description: The financial year associated with the data. + + - name: previous_year_date + data_type: date + description: The equivalent date in the previous year. + + - name: current_month_mtd_billable_bookings + data_type: integer + description: Total billable bookings for the current month MTD. + + - name: current_month_mtd_churning_deals + data_type: integer + description: Number of churning deals for the current month MTD. + + - name: current_month_mtd_live_deals + data_type: integer + description: Number of live deals for the current month MTD. + + - name: current_month_mtd_new_deals + data_type: integer + description: Number of new deals for the current month MTD. + + - name: current_month_mtd_operator_revenue_per_billable_booking + data_type: numeric + description: Operator revenue per billable booking for the current month MTD. + + - name: current_month_mtd_resolutions_payout_rate + data_type: numeric + description: Resolutions payout rate for the current month MTD. + + - name: current_month_mtd_revenue_retained_post_resolutions_in_gbp + data_type: numeric + description: Revenue retained after resolutions for the current month MTD in GBP. + + - name: current_month_mtd_total_guest_payments_in_gbp + data_type: numeric + description: Total guest payments for the current month MTD in GBP. + + - name: current_month_mtd_total_revenue_in_gbp + data_type: numeric + description: Total revenue for the current month MTD in GBP. + + - name: current_month_mtd_waiver_payments_in_gbp + data_type: numeric + description: Total waiver payments made in GBP for the current month MTD. + + - name: current_month_mtd_waiver_payout_rate + data_type: numeric + description: Waiver payout rate for the current month MTD. + + - name: current_month_mtd_waiver_revenue_per_billable_booking + data_type: numeric + description: Waiver revenue per billable booking for the current month MTD. + + - name: current_month_mtd_xero_apis_net_fees_in_gbp + data_type: numeric + description: Net fees for APIs processed through Xero for the current month MTD in GBP. + + - name: current_month_mtd_xero_host_resolution_amount_paid_in_gbp + data_type: numeric + description: Amount paid to hosts for resolutions processed through Xero for the current month MTD in GBP. + + - name: current_month_mtd_xero_operator_net_fees_in_gbp + data_type: numeric + description: Net fees for operators processed through Xero for the current month MTD in GBP. + + - name: current_month_mtd_xero_waiver_paid_back_to_host_in_gbp + data_type: numeric + description: Waiver amounts paid back to hosts via Xero for the current month MTD in GBP. + + - name: previous_year_mtd_billable_bookings + data_type: integer + description: Total billable bookings for the previous year (12 months ago) MTD. + + - name: previous_year_mtd_churning_deals + data_type: integer + description: Number of churning deals for the previous year (12 months ago) MTD. + + - name: previous_year_mtd_live_deals + data_type: integer + description: Number of live deals for the previous year (12 months ago) MTD. + + - name: previous_year_mtd_new_deals + data_type: integer + description: Number of new deals for the previous year (12 months ago) MTD. + + - name: previous_year_mtd_operator_revenue_per_billable_booking + data_type: numeric + description: Operator revenue per billable booking for the previous year (12 months ago) MTD. + + - name: previous_year_mtd_resolutions_payout_rate + data_type: numeric + description: Resolutions payout rate for the previous year (12 months ago) MTD. + + - name: previous_year_mtd_revenue_retained_post_resolutions_in_gbp + data_type: numeric + description: Revenue retained after resolutions for the previous year (12 months ago) MTD in GBP. + + - name: previous_year_mtd_total_guest_payments_in_gbp + data_type: numeric + description: Total guest payments for the previous year (12 months ago) MTD in GBP. + + - name: previous_year_mtd_total_revenue_in_gbp + data_type: numeric + description: Total revenue for the previous year (12 months ago) MTD in GBP. + + - name: previous_year_mtd_waiver_payments_in_gbp + data_type: numeric + description: Total waiver payments made in GBP for the previous year (12 months ago) MTD. + + - name: previous_year_mtd_waiver_payout_rate + data_type: numeric + description: Waiver payout rate for the previous year (12 months ago) MTD. + + - name: previous_year_mtd_waiver_revenue_per_billable_booking + data_type: numeric + description: Waiver revenue per billable booking for the previous year (12 months ago) MTD. + + - name: previous_year_mtd_xero_apis_net_fees_in_gbp + data_type: numeric + description: Net fees for APIs processed through Xero for the previous year (12 months ago) MTD in GBP. + + - name: previous_year_mtd_xero_host_resolution_amount_paid_in_gbp + data_type: numeric + description: Amount paid to hosts for resolutions processed through Xero for the previous year (12 months ago) MTD in GBP. + + - name: previous_year_mtd_xero_operator_net_fees_in_gbp + data_type: numeric + description: Net fees for operators processed through Xero for the previous year (12 months ago) MTD in GBP. + + - name: previous_year_mtd_xero_waiver_paid_back_to_host_in_gbp + data_type: numeric + description: Waiver amounts paid back to hosts via Xero for the previous year (12 months ago) MTD in GBP. + + - name: current_ytd_billable_bookings + data_type: integer + description: Total billable bookings for the current financial year YTD. + + - name: current_ytd_churning_deals + data_type: integer + description: Number of churning deals for the current financial year YTD. + + - name: current_ytd_live_deals + data_type: integer + description: Number of live deals for the current financial year YTD. + + - name: current_ytd_new_deals + data_type: integer + description: Number of new deals for the current financial year YTD. + + - name: current_ytd_operator_revenue_per_billable_booking + data_type: numeric + description: Operator revenue per billable booking for the current financial year YTD. + + - name: current_ytd_resolutions_payout_rate + data_type: numeric + description: Resolutions payout rate for the current financial year YTD. + + - name: current_ytd_revenue_retained_post_resolutions_in_gbp + data_type: numeric + description: Revenue retained after resolutions for the current financial year YTD in GBP. + + - name: current_ytd_total_guest_payments_in_gbp + data_type: numeric + description: Total guest payments for the current financial year YTD in GBP. + + - name: current_ytd_total_revenue_in_gbp + data_type: numeric + description: Total revenue for the current financial year YTD in GBP. + + - name: current_ytd_waiver_payments_in_gbp + data_type: numeric + description: Total waiver payments made in GBP for the current financial year YTD. + + - name: current_ytd_waiver_payout_rate + data_type: numeric + description: Waiver payout rate for the current financial year YTD. + + - name: current_ytd_waiver_revenue_per_billable_booking + data_type: numeric + description: Waiver revenue per billable booking for the current financial year YTD. + + - name: current_ytd_xero_apis_net_fees_in_gbp + data_type: numeric + description: Net fees for APIs processed through Xero for the current financial year YTD in GBP. + + - name: current_ytd_xero_host_resolution_amount_paid_in_gbp + data_type: numeric + description: Amount paid to hosts for resolutions processed through Xero for the current financial year YTD in GBP. + + - name: current_ytd_xero_operator_net_fees_in_gbp + data_type: numeric + description: Net fees for operators processed through Xero for the current financial year YTD in GBP. + + - name: current_ytd_xero_waiver_paid_back_to_host_in_gbp + data_type: numeric + description: Waiver amounts paid back to hosts via Xero for the current financial year YTD in GBP. + + - name: previous_ytd_billable_bookings + data_type: integer + description: Total billable bookings for the previous financial year YTD. + + - name: previous_ytd_churning_deals + data_type: integer + description: Number of churning deals for the previous financial year YTD. + + - name: previous_ytd_live_deals + data_type: integer + description: Number of live deals for the previous financial year YTD. + + - name: previous_ytd_new_deals + data_type: integer + description: Number of new deals for the previous financial year YTD. + + - name: previous_ytd_operator_revenue_per_billable_booking + data_type: numeric + description: Operator revenue per billable booking for the previous financial year YTD. + + - name: previous_ytd_resolutions_payout_rate + data_type: numeric + description: Resolutions payout rate for the previous financial year YTD. + + - name: previous_ytd_revenue_retained_post_resolutions_in_gbp + data_type: numeric + description: Revenue retained after resolutions for the previous financial year YTD in GBP. + + - name: previous_ytd_total_guest_payments_in_gbp + data_type: numeric + description: Total guest payments for the previous financial year YTD in GBP. + + - name: previous_ytd_total_revenue_in_gbp + data_type: numeric + description: Total revenue for the previous financial year YTD in GBP. + + - name: previous_ytd_waiver_payments_in_gbp + data_type: numeric + description: Total waiver payments made in GBP for the previous financial year YTD. + + - name: previous_ytd_waiver_payout_rate + data_type: numeric + description: Waiver payout rate for the previous financial year YTD. + + - name: previous_ytd_waiver_revenue_per_billable_booking + data_type: numeric + description: Waiver revenue per billable booking for the previous financial year YTD. + + - name: previous_ytd_xero_apis_net_fees_in_gbp + data_type: numeric + description: Net fees for APIs processed through Xero for the previous financial year YTD in GBP. + + - name: previous_ytd_xero_host_resolution_amount_paid_in_gbp + data_type: numeric + description: Amount paid to hosts for resolutions processed through Xero for the previous financial year YTD in GBP. + + - name: previous_ytd_xero_operator_net_fees_in_gbp + data_type: numeric + description: Net fees for operators processed through Xero for the previous financial year YTD in GBP. + + - name: previous_ytd_xero_waiver_paid_back_to_host_in_gbp + data_type: numeric + description: Waiver amounts paid back to hosts via Xero for the previous financial year YTD in GBP. + + - name: previous_month_eom_billable_bookings + data_type: integer + description: Total billable bookings for the previous month, at the end of the month. + + - name: previous_month_eom_churning_deals + data_type: integer + description: Number of churning deals for the previous month, at the end of the month. + + - name: previous_month_eom_live_deals + data_type: integer + description: Number of live deals for the previous month, at the end of the month. + + - name: previous_month_eom_new_deals + data_type: integer + description: Number of new deals for the previous month, at the end of the month. + + - name: previous_month_eom_operator_revenue_per_billable_booking + data_type: numeric + description: Operator revenue per billable booking for the previous month, at the end of the month. + + - name: previous_month_eom_resolutions_payout_rate + data_type: numeric + description: Resolutions payout rate for the previous month, at the end of the month. + + - name: previous_month_eom_revenue_retained_post_resolutions_in_gbp + data_type: numeric + description: Revenue retained after resolutions for the previous month, at the end of the month in GBP. + + - name: previous_month_eom_total_guest_payments_in_gbp + data_type: numeric + description: Total guest payments for the previous month, at the end of the month in GBP. + + - name: previous_month_eom_total_revenue_in_gbp + data_type: numeric + description: Total revenue for the previous month, at the end of the month in GBP. + + - name: previous_month_eom_waiver_payments_in_gbp + data_type: numeric + description: Total waiver payments made in GBP for the previous month, at the end of the month. + + - name: previous_month_eom_waiver_payout_rate + data_type: numeric + description: Waiver payout rate for the previous month, at the end of the month. + + - name: previous_month_eom_waiver_revenue_per_billable_booking + data_type: numeric + description: Waiver revenue per billable booking for the previous month, at the end of the month. + + - name: previous_month_eom_xero_apis_net_fees_in_gbp + data_type: numeric + description: Net fees for APIs processed through Xero for the previous month, at the end of the month in GBP. + + - name: previous_month_eom_xero_host_resolution_amount_paid_in_gbp + data_type: numeric + description: Amount paid to hosts for resolutions processed through Xero for the previous month, at the end of the month in GBP. + + - name: previous_month_eom_xero_operator_net_fees_in_gbp + data_type: numeric + description: Net fees for operators processed through Xero for the previous month, at the end of the month in GBP. + + - name: previous_month_eom_xero_waiver_paid_back_to_host_in_gbp + data_type: numeric + description: Waiver amounts paid back to hosts via Xero for the previous month, at the end of the month in GBP.