diff --git a/models/marts/warehouse/fct_exchange__transaction_costs.sql b/models/marts/warehouse/fct_exchange__transaction_costs.sql index 62d85cc..e373e74 100644 --- a/models/marts/warehouse/fct_exchange__transaction_costs.sql +++ b/models/marts/warehouse/fct_exchange__transaction_costs.sql @@ -62,7 +62,7 @@ transaction_costs_lists AS ( transaction_costs.base_service_charge, -9999999999) AS service_charge_rm, - (value_rm + service_charge_rm + tax_rm) AS total_value_rm, + (value_rm - service_charge_rm - tax_rm) AS total_value_rm, transaction_costs.expired_datetime, transaction_costs.deleted_datetime,