[changes - field name] - creating metric with 2 changes | Community
Skip to main content

[changes - field name] - creating metric with 2 changes

  • May 19, 2022
  • 2 replies
  • 0 views

Eli13

Hi guys! I am creating a metric, that should display ticket updates according to 2 fields changes: status and customer request type. Is it possible? If yes, what is wrong with my formula:

IF ([Changes - Field name] = "Customer request type"
AND [Changes - Previous value] != [Changes - New value])
AND ([Changes - Field name] = "status" and [Changes - New value] != "solved")
THEN [Update ID]
ENDIF

2 replies

sphen11
  • May 20, 2022

Hi @eli13! I am wondering if you just need an extra set of brackets around your IF condition?

IF (
([Changes - Field name] = "Customer request type"
AND [Changes - Previous value] != [Changes - New value])
AND ([Changes - Field name] = "status" and [Changes - New value] != "solved")
)
THEN [Update ID]
ENDIF

Eli13
  • Author
  • May 23, 2022

Hi Stephen! Thank you for the suggestion. Unfortunately, it is still showing 0, however, separately it is working fine.