Hey! In filters you cant use ||
Try:
If(varItemID > 0, Filter(varDataSource, ID = varItemID),
SortByColumns(Filter(ProlemForm, 'Created By'.Email = User().Email, ...
If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!
Best regards,
Gonçalo Nogueira