Hi,
New to power automate and I cannot get the date part of my filter query correct. Copilot is not helping and none of the community questions seem to have the answer that will correct the issue.
Trying to filter my SharePoint list via two columns, the status and the date. The status is formatted as a choice column and date is formatted as a date column.
If I use just the status filter, the flow runs.
Status eq 'Approve'
When I try to filter by the date for the previous month, I get errors.
Status eq 'Approve' and Date ge startOfMonth(subtractFromTime(utcNow(), 1, 'Month'),'yyyy.MM.dd') or Date lt startOfMonth(utcNow(), 'yyyy.MM.dd')
Any help with the query syntax would be greatly appreciated.