Custom insight error

IDK why it keeps saying error !


Thanks in advance !

You are doing a logical condition IF on a formattedValue. That is not the right way. You need to do it on the value.

IF numdiff.totalAggregate.value > 0

I wanna add time to custom insight from my calculated field too but i couldn’t find any guidelines

This is a separate question. Please open up a new question with more specifics as to what you are looking for.