cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JasonCastro
Helper I
Helper I

Show an icon based on a table value

I have a column called Excluded. I would like to show an icon, be it a rectangle or another, based on this value.

If the Excluded column value of that gallery item is true, show the icon, if not, don't show

 

I put this code in the icon's visible property but it didn't work

 

If(emergencyGallery.Selected.EXCLUDED=true;true;false)

 

Any idea how I can show this icon based on the Excluded column?

1 ACCEPTED SOLUTION

Accepted Solutions
JasonCastro
Helper I
Helper I

Find the answer

 

If(ThisItem.EXCLUDED="true";true;false)

 

 

View solution in original post

2 REPLIES 2
JasonCastro
Helper I
Helper I

Find the answer

 

If(ThisItem.EXCLUDED="true";true;false)

 

 

HI @JasonCastro,

Glad that you have resolved it by yourself.

Thanks for your sharing.

Best Regards,
Qi

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Top Solution Authors
Top Kudoed Authors
Users online (2,890)