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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / change pictures from d...
Power Apps
Answered

change pictures from drop down box

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

i have a column in excel file includes those values: house, warehouse, tower. i put it as dropdown box in power app

 

i want to add picture in the corner that change based on the above dropdown box. as i have three pictures i want them to be change in one place based on the dropdown box.

 

is that possible?

Categories:
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    Set the Image property of your Image to the following:

    Switch(yourDropdown.Selected.Value,
     "house", imgHousePicture,
     "warehouse", imgWarehousPicture,
     "tower", imgTowerPicture
    )

    Replace names in the above formula to reflect actual names in your app.

     

    I hope this is helpful for you.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    thank you for the support Randy! can you please explain further how to apply the imghousepicture?

  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    I assumed you already had the images in your app.  If not, then add them through the add media toolbox.  The name of the file will become a name of the image to use in your app.

    In the case of imgHousePicture - this would have been the name of the image should you have uploaded an image with the filename of imgHousePicture (file extension doesn't make a difference).

     

    Do you have pictures in your app already? 

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    it works perfectly:) thank you so much

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 225

#3
M Bilal Khan Profile Picture

M Bilal Khan 192

Last 30 days Overall leaderboard