web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Gallery not Select Lin...
Power Apps
Answered

Gallery not Select Line Automatically When Change Filter Status

(0) ShareShare
ReportReport
Posted on by 253
Hi Guys!

I have the follow issue below:

After I submit a Form (that get input from selected/linked gallery), my gallery return not selected.

My variable in "Onselect" button property: << it's ok
I have two filter buttons with UpdateContext. One is "UpdateContext({varStatus: "Pendente"})" and another one is "UpdateContext({varStatus: "Concluído"})". 

 

My formula in "Item" Gallery property: << it's ok

Filter('Processo de exportação', StatusGeralzao = varStatus)

 

My problem is: when I click on both buttons filters (varStatus = "Pendente") or (varStatus = "Conluído") , the gallery is filtered by "Status this status normally, but not select its line automatically. I have to click to select an specific line.

I use the "default" gallery property to see the last record (just to stay selected) like this: Last(Database) and the result selected the last line in my gallery when I click on the button  (varStatus = "Pendente"), but when I click on button  (varStatus = "Concluído"), the gallery doesn't select the last gallery line. 

 

Does Anyone could help with this issue, please? Any If formula or anything else on default gallery property?

Categories:
I have the same question (0)
  • R Bakker Profile Picture
    725 on at

    Hi

    Do you want it to select the last submitted record?

  • WendeReisss Profile Picture
    253 on at

    Hi @Corissandageri 
    No. It can select any line in gallery, since it works when I click on both buttons (varStatus = "Pendente") or (varStatus = "Concluído").

  • Verified answer
    yying Profile Picture
    69 on at

    Hi

    I'm not quite sure what you mean, but for the default gallery,

    If you don't manually select any of the gallery items, gallery selects the first item by default.

    I hope this helps.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard