cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dorinda
Super User
Super User

Switch between images based on dropdown selected

I have a screen that has 6 images on it, I am trying to have those images change based on the Dropdown selection.

Switch(Dropdown1_1.Selected.sublocation,
"BASEMENT",
'EHQ-Basement' ,
"FLOOR 1",
'EHQ-1st Floor',
"FLOOR 2",
'EHQ-2nd Floor'
)

This isnt working, and I am not sure what I am doing wrong, I have this on the Visible property.

1 ACCEPTED SOLUTION

Accepted Solutions
Dorinda
Super User
Super User

Ok so I switched it to the image property and it works great except now my gallery is not switching as expected.

Switch(Dropdown1_1.Selected.sublocation,
"BASEMENT",
colMapPinsEHQBase,
"FLOOR 1",
colMapPinsEHQ1st,
"FLOOR 2",
colMapPinsEHQ2nd
)

View solution in original post

2 REPLIES 2
Dorinda
Super User
Super User

Ok so I switched it to the image property and it works great except now my gallery is not switching as expected.

Switch(Dropdown1_1.Selected.sublocation,
"BASEMENT",
colMapPinsEHQBase,
"FLOOR 1",
colMapPinsEHQ1st,
"FLOOR 2",
colMapPinsEHQ2nd
)

nevermind it is working now.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,065)