What is the syntax formula for display differents icons in the same view

I have on field statein the same column view i would like to have the icon1 when state=1 ou display icon2 when state=2 in the same column …

How you can do that

I write this but it don’t works there is only one icon display …

because only the icon 83 display on the column ans not the icon 82 …

@If(State=“1”;82;_ViewIcon);

@If(State=“2”;83;_ViewIcon)

simple for you …

I don’t want to create a second column to display icon 83, so can you tell me what is missing in my code ?

NF

Subject: What is the syntax formula for display differents icons in the same view

You need to write like this -

@if(State = “1”; 82; State = “2”; 83; _ViewIcon)

–Phani

Subject: RE: What is the syntax formula for display differents icons in the same view

Thank you, it is works …/NF