Is it possible to use if else statement in texttemplate inside a go.Heatmap Trace

Hi @till90, sometimes I use something like this, could work in your case as well: