Addressed comments and all KPI model changes

This commit is contained in:
Joaquin 2025-06-11 12:25:14 +02:00
parent 44b59aafd2
commit 55699a1647
9 changed files with 66 additions and 5 deletions

View file

@ -188,6 +188,13 @@ select
else 0
end
) as xero_screen_and_protect_net_fees_in_gbp,
sum(
case
when ixsdm.accounting_root_aggregation = 'Flex API'
then ixsdm.line_amount_wo_taxes_in_gbp
else 0
end
) as xero_flex_api_net_fees_in_gbp,
sum(
case
when ixsdm.accounting_root_aggregation = 'Guesty Resolutions'