Skip to main content

Notifications

Community site session details

Community site session details

Session Id : LnSgXpCLxBUC+Qi+P2JWeE
Power Apps - Building Power Apps
Answered

Dropdown control images

Like (0) ShareShare
ReportReport
Posted on 25 Apr 2022 19:29:29 by 6

I have the following hurdle, I am creating an inventory on auto parts and I need a drop down menu to choose the different views (6 images per part).

in an MS list, I have the car name in columns and the views in rows, this is the code I am using, but the problem with this is that it only shows a set of images, and I need to show the images set according to Car.

 

LookUp('car images',Title=Dropdown1.Selected.Title,MG5)

  • v-yujincui-msft Profile Picture
    on 09 May 2022 at 01:38:27
    Re: Dropdown control images

    Hi @cesar106 ,

     

    This Combo Box Control is generated by the Form.

    vyujincuimsft_0-1652060213909.png

     

     

    Best Regards,
    Charlie Choi

  • cesar106 Profile Picture
    6 on 06 May 2022 at 15:00:02
    Re: Dropdown control images

    thanks for your support charlie, how do you configure the combo box control ?

  • Verified answer
    v-yujincui-msft Profile Picture
    on 03 May 2022 at 03:56:14
    Re: Dropdown control images

    Hi @cesar106 ,

     

    Sorry for reply late. Do you want the Image control in the Form to display different images according to the column name selected in the Combo Box Control?

     

    If so, i have made a test for your reference.

    1. Here is my list.

    vyujincuimsft_1-1651549330817.png

    2. Here is my App.

    Select the Image Control and apply the following formula on its Image property as:

    Switch(DataCardValue10.Selected.Value,
    "ImageColumn1",ThisItem.ImageColumn1.Medium,
    "ImageColumn2",ThisItem.ImageColumn2.Medium,
    "ImageColumn3",ThisItem.ImageColumn3.Medium
    )

    vyujincuimsft_2-1651550047380.png

    Result Screenshot:

    vyujincuimsft_3-1651550107973.png

     

     

    Best Regards,
    Charlie Choi

  • cesar106 Profile Picture
    6 on 28 Apr 2022 at 13:45:26
    Re: Dropdown control images

    A02FADDD-430B-4CAA-A744-F23E7FD6BC1F.jpeg

    B1774F17-008E-4F45-A01D-E99CE11CFB4B.jpeg

    thanks for your support Charlie, the issue here it’s that I have in main browse, the gallery with the different car parts and different models(data base No.1) and in the detail screen I have the drop down with the images(data base No.2) but with the Lookup, the function  only send me one column from the data base, and I want that the image control can selected the right column accord with the model of the car, it’s like a catalogue

  • v-yujincui-msft Profile Picture
    on 28 Apr 2022 at 08:04:47
    Re: Dropdown control images

    Hi @cesar106 ,

     

    Could you please provide some screenshots about your datasource(No Sensitive Data) and your App's setup? That will make it much easier to assist.

     

    In addition, Maybe you could try the following formula:

    Filter('car images',Title=Dropdown1.Selected.Title).MG5

     

    Best Regards,

    Charlie Choi

     

     

  • Fubar Profile Picture
    7,867 Super User 2025 Season 1 on 25 Apr 2022 at 23:26:54
    Re: Dropdown control images

    This forum is for the "PowerApps Portal" believe your question is regarding a PowerApps App (Canvas App) you will probably get a better response if you post in this forum https://powerusers.microsoft.com/t5/Building-Power-Apps/bd-p/PowerAppsForum1

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 89 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 60

#3
stampcoin Profile Picture

stampcoin 48

Overall leaderboard