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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / display image when a c...
Power Apps
Unanswered

display image when a condition is met

(0) ShareShare
ReportReport
Posted on by 14

Hi, I'm looking for a solution for the following:

I have an excel where I list dangerous goods. These goods have danger symbols. In my excel sheet I have different columns with, when applicable for the product, an 'X' in the cell with the danger symbol. 

Now I uploaded the pictures of these symbols in PowerApps Studio. I also displayed them. Now I want to add a condition to the displaying of these images. When there's an 'X' in excel in a column, then the image needs to be displayed, else not. I tried to use this - Disabled=If(flammable="X",false) - but that didn't work.

Thanks

Categories:
I have the same question (0)
  • Verified answer
    hpkeong Profile Picture
    2,944 on at

    Hi

     

    Assume that Flammable is the title of the column which you will fill-in X if there is danger products.

    Insert an Image connected to related image field.

    Set:

    Visible: If(Flammable.Text = "X", true, false)

    1. Use Visible for the Image (because you use to toggle Show or No Show)

    2. When using any Text Field Name, please use FielsName.Text.

     

    Hope this helps.

    TQ

  • MarkieRMT Profile Picture
    14 on at

    Yup, that worked almost. I had to remove the - .Text - to get it to work.

    Thanks

  • Johnolnes Profile Picture
    234 on at

    This worked very well for me trying to have images show based on a dropdown box.

    Thank you!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard