Hi, I'm currently trying to get all rows that are less than or equal to one week ago from today in terms of date.
Here's the query which I'm using. Last Emailed Date le @{formatDateTime(addDays(utcNow(), -7), 'MM/dd/yyyy')}
Here's the column in sharepoint.
Here's the error I'm getting.
Hi @PKG6
Just check what is internal name of the SharePoint column Last Emailed Date ? as the internal name is used in the Odata filter query.
From my experience, internal name of Last Emailed Date would be LastEmailedDate
So try this odata query
LastEmailedDate le '@{formatDateTime(addDays(utcNow(), -7), 'yyyy-MM-dd')}'
Nived N 🚀
LinkedIn: Nived N's LinkedIn
YouTube: Nived N's YouTube Channel
Blog: Nived Nambiar's Blogs
🔍 Found my answer helpful? Please consider marking it as the solution!
Your appreciation keeps me motivated. Thank you! 🙌
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2