Users of an app I developed some time ago have recently reported that data is missing from a gallery view. On investigation I have found that the gallery's Items property seems to be the problem. The property was set to:
Sort(Filter('Forms processing', Outcome.Value = "Waiting correction" ), Submission)
The Forms processing table is a SharePoint list, Outcome is a Choice column, and Submission is a date column. The gallery is returning no data even through one record matches the Filter criterion. If I remove the Sort element in the property, the matching record is shown:
Filter('Forms processing', Outcome.Value = "Waiting correction" )
This was working fine until recently and I have recently encountered a similar problem in Power Automate where sorting on a date field caused an incorrect data set to be returned. Has something broken in SharePoint?