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

Notifications

Announcements

Community site session details

Community site session details

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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard