Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Auto select items between first and last item in gallery

Hello everybody,

In the Gallery10 (hours table), i would like to auto select the range between the first selected item (here 7H-8H) and the last selected item(15H-16H).

How can I make this ?

2021-09-17 09_11_23-Power Apps.png 

Label27 - Text : Concat(GallerySelectedCollection,Value,Char(10))

btnHour - Color : If(ThisItem.Value in GallerySelectedCollection, RGBA(227,234,243,1), RGBA(255,255,255,1))

btnHour - OnSelect : If(ThisItem.Value in GallerySelectedCollection.Value, Remove(GallerySelectedCollection,ThisItem), Collect(GallerySelectedCollection, ThisItem))


Helpful resources

PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.


Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,370)