Hey Guys, how can I get my button to be editable if all of the rows of my gallery Status = "Completed"
else if 1 row is still Status = "Pending" then button is still disabled.

Hey Guys, how can I get my button to be editable if all of the rows of my gallery Status = "Completed"
else if 1 row is still Status = "Pending" then button is still disabled.
Hi @nagestiada ,
Try this on the DisplayMode of the button
If(
CountRows(GalleryName.AllItems) =
CountRows(
Filter(
GalleryName.AllItems,
Status="Completed"
)
),
DisplayMode.Edit,
DisplayMode.Disabled
)
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, please consider giving it Thumbs Up.