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)
thanks for your support charlie, how do you configure the combo box control ?
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.
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
)
Result Screenshot:
Best Regards,
Charlie Choi
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
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
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
WarrenBelz
89
Most Valuable Professional
MS.Ragavendar
60
stampcoin
48