Hello all,
I am trying to do the equivalent of an ifs statement in Hubspot’s new calculation functionality within a property. In order to do this, I have used nested if functions within eachother but for some reason, Hubspot is not recognising the second if. Please can someone help with this? If statement is below:
if([properties.delivery_fee_service_fee] == “Delivery Fee”, ([properties.amount] * 0.23) + ([properties.order_frequency__numerical_] * 25.2), if([properties.segmentation_] == “JEP”, [properties.amount] * ([properties.new_service_fee] + 0.05), [properties.amount] * ([properties.new_service_fee] + 0.23)))
Thank you