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 / Filter all records fro...
Power Apps
Answered

Filter all records from a gallery all items

(0) ShareShare
ReportReport
Posted on by 504

Hey guys, I have a gallery with a status as a column

nagestiada_0-1651732381264.png

 

And have a button for submit but the button should be disabled if not all rows from a gallery is complete.

 

Categories:
I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @nagestiada ,

    Try below,

    Replace condition of display mode on Submit button with below,

    If(CountRows(Filter(Gallery.AllItems,Status <>"Complete"))>0,DisplayMode.Disabled,DisplayMode.Edit)

    ---------------------------------------------------------------------------------------------------------------------

    If this resolved your issue then please mark it as a solution for future reference.

     

  • AsanKani Profile Picture
    710 on at

    Hi @nagestiada 

     

    If(CountIf(Gallery.AllItems,Status="Complete")=CountRows(Gallery.AllItems),DisplayMode.Edit,Disabled)

     

    Use above coding in Button Display mode property.

    I hope your issue resolved.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways or you liked the post and want to show some appreciation, please give it a Thumbs Up.
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 899

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 499

Last 30 days Overall leaderboard