I am trying to make an Odata filter that will only take data entered within the last week from my source so instead of a specific date range it is a rolling range from 'Today'. Is that possible?
Hey Ellis. This worked in my flow. Thanks for the help.
You can use the utcNow() to get the current date and addDays() function to add or substract days from the current time.
addDays(utcNow('yyyy-MM-dd'), -7)
For example, in the following filter query I am searching for items that were created between today (2022-03-16) and 2022-03-09:
Hope this helps.
Ellis
____________________________________
If I have answered your question, please mark the post as Solved.
If you like my response, please give it a Thumbs Up.
ankit_singhal
7
Super User 2025 Season 1
Michael E. Gernaey
4
Super User 2025 Season 1
David_MA
2
Super User 2025 Season 1