@Moira0509 ,
That is still not what I posted (bracketing) - you are deleting records from a gallery by referring to its structure and removing the relevant records from the data source of the gallery. Also you cannot refer to two galleries unless they have the same structure and data source (then this will delete from both)
ForAll(
Sequence(25),
RemoveIf(
collocationinfowithNumber,
rownumber = Index(
GalleryTimezone1.AllItems,
Value
).rownumber
)
)
Assuming collocationinfowithNumber is the data source of GalleryTimezone1 and rownumber is a unique identifier, then this should work.
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.
MVP (Business Applications) Visit my blog Practical Power Apps