Hallo community,
I am working on a Power App that uses a SharePoint list "Test List" as a data source for a table. The app allows users to filter the table by different criteria, such as Personalnummer, List Status, Name, and Abteilung. I am using the Filter function with delegable operations to achieve this: SharePoint - Connectors | Microsoft Learn
However, I am facing a weird issue that I don't understand. When I edit the app, I can see all the entries of the SharePoint list and the filtering works perfectly. But when I open the app as a user that has full access to the Sharepoint list, the table is empty and I have to type something in the Name and Abteilung text inputs and then delete it to see the entries. And the filtering works just fine. When I reset the input fields with a button, the entries disappear again.
I have noticed that the problem only occurs when I use the StartsWith function for the Name and Abteilung columns. When I remove this part of the formula, the filtering works fine with the other criteria.
Here is the formula that I am using for the Items property of the table:
Filter(
'Test List',
(Value(TextInputCanvas1.Value) = Blank() || Value(TextInputCanvas1.Value) = Personalnummer) && (DropdownCanvas1.Selected.Value = Blank() || 'List Status'.Value = DropdownCanvas1.Selected.Value) && StartsWith(Name,
TextInputCanvas2.Value
) && StartsWith(
Abteilung,
TextInputCanvas3.Value
)
)
Does anyone know why this is happening and how I can fix it?
Is there a problem with the StartsWith function or the SharePoint list?
Thank you for your help.
Kind regards,
BB