Hello,
I am trying to create a flow that will notify me 2 weeks before a specific date as a reminder to complete a task.
High Level Process:
Read rows from an excel file > Filter excel rows that are 2 weeks away > send email reminder
Here's what my current flow looks like that doesn't seem to work.
I could be going about this all wrong and I'm fine if someone has a better solution.
Solved! Go to Solution.
Hi @PseudoNew ,
From your screenshot, the value displayed by StartDate is Number instead of the expected date. You need to refer to the following thread to restore number to Date.
For reference, you can use the following expression to the left of Condition:
addDays('1899-12-30',int(item()['StartDate']),'yyyy-MM-dd')
When configuring Append to an array variable, if you want to add StartDate with Date format, you need to use the same expression.
Please take a try again.
Best Regards,
Check out this solution by @v-yuazh-msft - How to filter data from Excel rows.
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Hi @PseudoNew ,
Please follow the tips above to try to improve your Flow.
In addition, you could refer to the following methods to configure Flow without using Filter array and Select. Assume that the value of the StartDate field is displayed in the expected date format on the Body.
Image reference:
Details in Apply to each:
Hoep this helps.
Best Regards,
Thank you for the help.
I'm still getting hung up on the date formatting. The date comes in as 'MM-dd-yyyy'.
Would I need to convert the date first before filtering?
Hi @PseudoNew ,
From your screenshot, the value displayed by StartDate is Number instead of the expected date. You need to refer to the following thread to restore number to Date.
For reference, you can use the following expression to the left of Condition:
addDays('1899-12-30',int(item()['StartDate']),'yyyy-MM-dd')
When configuring Append to an array variable, if you want to add StartDate with Date format, you need to use the same expression.
Please take a try again.
Best Regards,
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
User | Count |
---|---|
75 | |
20 | |
17 | |
14 | |
13 |
User | Count |
---|---|
127 | |
35 | |
29 | |
28 | |
25 |