cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JanouH
Frequent Visitor

Multiple selections gallery

Hi,

 

My gallery shows a list of people. Currently, I have a label outside of the gallery showing the name of the selected person when you press the arrow icon within the gallery. I have done this with the following function: 

 

 

gallery.selected.name

 

 

However, I need two labels showing different selections. I therefore added two arrows within the gallery. If you press the first one; the name should pop-up in Label 1, if you press the second one the name should pop-up in Label 2 (so two different names). How do I differentiate between those selections?

 

thanks in advance 🙂

 

1 ACCEPTED SOLUTION

Accepted Solutions
PG_WorXz10
Community Champion
Community Champion

Hi @JanouH,

 

If I understood the requirement correctly you need to show different value on selection of those arrows. 

 

What you can try is set 2 different variable on selection of arrow Set(variable1, gallery.selected.name) and Set(variable2, gallery.selected.option2 ) and add these variables as the default values in your labels. 

 

 

If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.

View solution in original post

1 REPLY 1
PG_WorXz10
Community Champion
Community Champion

Hi @JanouH,

 

If I understood the requirement correctly you need to show different value on selection of those arrows. 

 

What you can try is set 2 different variable on selection of arrow Set(variable1, gallery.selected.name) and Set(variable2, gallery.selected.option2 ) and add these variables as the default values in your labels. 

 

 

If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (4,005)