Dear Drea,
You may use Filter Array and type the formula @AND(lessOrEquals(formatDateTime(item()?['Time'], 'MM-dd-yyyy hh:mm:ss tt'), formatDateTime(addDays(utcNow(), -1), 'MM-dd-yyyy hh:mm:ss tt')), greaterOrEquals(formatDateTime(item()?['Time'], 'MM-dd-yyyy hh:mm:ss tt'), formatDateTime(addDays(utcNow(), -2), 'MM-dd-yyyy hh:mm:ss tt'))) to filter the items.
In my demo list, there are five items and you can see the qualified items are item1 and item 5.
So the flow can be created as follows.
Compose: items('Apply_to_each')?['Title']
Compose2: formatDateTime(items('Apply_to_each')?['Time'],'MM-dd-yyyy hh:mm:ss tt')
Compose3: items('Apply_to_each')?['Status']?['Value']
Value in Append to array variable:
{
"Title": "@{outputs('Compose')}",
"Time": "@{outputs('Compose_2')}",
"Status": "@{outputs('Compose_3')}"
}
Welcome to share any updates when you have time.
Thanks for your effort and time!
Sincerely
Cliff | Microsoft Community Moderator