I have the following code in the expression builder:
=IIF(ISERROR(IIF(AND(([Month1]>=Now()),IIF(SUM([Past])-[Balance]<0,IIF([Month1]>=[Delivery From],[Balance]/[PartitionEq]))),[Balance]/[PartitionEq],0)),0,IIF(AND(([Month1]>=Now()),IIF(SUM([Past])-[Balance]<0,IIF([Month1]>=[Delivery...