Hi everyone,
I'm trying to change background color based on value but the IIF is not working instead the whole list is giving the background color (both 1 & 2 value). Below is my code
var bgcolor = IIF(DomainName($datapoint,'FHE')==1,'#FF0000','');
return {
textColor: '',
backgroundColor: bgcolor,
separatorColor:'',
selectionColor: '',
selectionTextColor: '',
}
any suggestions