Hello everyone,
I’m building a simple flow used to count items in a SharePoint list depending on some criteria’s, mainly date fields.
I know there are a lot of posts on how to do it but somehow, I cannot make it work.
My flow is a scheduled trigger flow set to run in beginning of every month.
I then have a get items, followed by a variable in which I store the result of “@{length(outputs('request1')?['body/value'])}” to count the number of items coming from the get items action.
Everything works, except the most important part of the flow: this filter query. I have a date field named “Date de cloture” and I want to get every item in which the date field date is in the last month. For example, if I trigger it now, I want all the items where the date in “Date de cloture” are in February.
I beg you guys to help me on this one, I don’t understand what I’m doing wrong.
Thanks for your time !