Hi Power user community !
I am trying to create a weekly job that queries the last 7 days of entries on a Sharepoint list and send an email.
I am able to pull the data and create the .csv table and email it but I am having issues with the last 7 day query portion. Here are the screenshots of my flow.
my formula for the expression is as follows: addDays (utcNow(item()?['EffectiveDate']), -7, 'yyyy-mm-dd')). Also I want to note that the effective date is in string format (i.e. 3/25/2024 9:25:03 AM)
Please help me with what I am doing incorrectly?

Report
All responses (
Answers (