How to handle Sharepoint Get Items connection with a odata filter that looks like this
screenshot: http://prntscr.com/pzaos5
startswith(Personnummer,'@{triggerBody()['Getitems_FilterQuery']}') and startswith(ReportYear,'@{triggerBody()['Getitems_FilterQuery_1']}') and startswith(RepportMonth,'@{triggerBody()['Getitems_FilterQuery_2']}')
Everything works as long as data are in the powerapp connectors.
But if any of them are empty, everything fails.
Why?
How to fix this, can i put in some error handler or if statement to fix this?
I dont get any errors when one or several of the parameters are empty... i just get nothing filtered, no result atall.
if i change from AND to OR
it does not really work anyway... since it then does not combine the different data to one filter, it just takes one of them and filters.