cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BHS_KI
Helper II
Helper II

Gallery: Select an individual line item

Hi there,

 

Sorry, I am too confused to get my mind clear. 

 

I have a Gallery. 

Property:

OnSelect: Set(VarRecord, ThisItem)

Default: VarRecord

 

Now I want to jump to the last line item of the Gallery...

Set(VarRecord, Last(Gallery.AllItems))

 

It does not work. The variable VarRecord hast the record, but the gallery is not selected. 

 

No idea anymore 😇

 

regerds,

Klaus

11 REPLIES 11
Corissandageri
Continued Contributor
Continued Contributor

 Would this work?

Select(Gallery4,CountRows(Gallery4.AllItems))

@BHS_KI ,

Strangely @Corissandageri 's post works (although I have never needed to do that before). I often use the process I described to select a particular item.

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 (1,698)