web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Show an icon based on a table value

(0) ShareShare
ReportReport
Posted on by 111

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?

I have the same question (0)
  • Verified answer
    JasonCastro Profile Picture
    111 on at
    Re: Show an icon based on a table value

    Find the answer

     

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

     

     

  • v-qiaqi@microsoft.com Profile Picture
    on at
    Re: Show an icon based on a table value

    HI @JasonCastro,

    Glad that you have resolved it by yourself.

    Thanks for your sharing.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 714 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 419 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 243

Last 30 days Overall leaderboard