• Help Desk reporting gives you real-time visibility into your support operation without the manual work. Ask our experts about which metrics matter most! AMA Dec 8-12.

    Ask us anything

Property calculation multiple condition

Sesco
Member

Hi 

 

I tried to make a property using calculation with multiple condition and it appears something is wrong. For example :
if( [properties.X]== "String 1" and [properties.Y]== "Enumerated" , "String True","False") and after filling test fields with expected true condition it returns false. I'm confused becouse when I apply only one condition in formula the result is true. So it looks like the calculation works only for one condition. 

0 Upvotes
1 Accepted solution
Sesco
Solution
Member

Hi thank You for reply

 

I track down the problem, it Was the difference between Label and Internal Value. Usualy we keep both values same but someone decided to rename Label. I feel dumb -.-

View solution in original post

3 Replies 3
PamCotton
HubSpot Alumni
HubSpot Alumni

Hey @Sesco thank you for posting in our Community!

 

I would recommend breaking down the calculation into smaller parts or using logging/debugging techniques to isolate the problem. This can involve testing each condition separately or logging intermediate values to understand the flow of the calculation better.

 

To our top experts, @Jnix284, @JustinPerkinsC, @Jigar_Thakker any recommendations for @Sesco matter?

 

Thank you,

Pam

Sesco
Solution
Member

Hi thank You for reply

 

I track down the problem, it Was the difference between Label and Internal Value. Usualy we keep both values same but someone decided to rename Label. I feel dumb -.-

PamCotton
HubSpot Alumni
HubSpot Alumni

Thank you for letting us know @Sesco!

 

Kindly,

Pam

0 Upvotes