Skip to main content

I’m wondering if there’s a way of achieving this :Ā 

I have an event with a property that I need to SUM. I can do that with PROPSUM(A) without problem. The thing is that I need to add a cap to that SUM (maximum amount).

I would need something like MAX(PROPSUM(A),cap), where I could get :Ā 

  • The value of PROPSUM(A) ifĀ PROPSUM(A) <Ā cap
  • The value of cap if PROPSUM(A) > cap

I have tried to achieve this in many ways but I can’t find a proper way to do it.

Ā 

Thanks a lot for the help !

Hey @tomash,

I don’t thinkĀ that a conditional MAX formula use case over a PROPSUMĀ is currently supported in custom formulas.

You can also try using some context from this post here:

Ā 

The derived properties feature has a MAX function using which you can try using if you haven’t already, but that will output a new property which will give you the value of the max between a property value and your cap value for that event. Not sure if this helps your caseĀ since the main value you want to work upon is theĀ PROPSUM as a whole value.

Ā 

Ā