Hi all,
Trying to use an if statement to check if an item has reached its due date in a select step but running into some problems as the below formula is invalid.
Hi @ccqn ,
Please try:
if(greater(startOfDay(item()?['Due Date']),startOfDay(utcNow())),'yes','no')
Best Regads,
Bof
Hi @v-bofeng-msft ,
It says that the expression is invalid.
if( greater(startOfDay(item()?['Due Date']),startOfDay(utcNow()), 'yes', 'no' )
Best Regards,Bof
Hi @Andrew_J ,
The due date an excel column. The gist of the flow is to
1. Fetch rows from excel
2. Create HTML table using the rows with an additional column 'Overdue' which is created by checking whether the due date is past today's date.
@ccqn
I do think an IF can be added there. It needs to be calcuated before that stage but without seeing the whole of the flow and understanding where the due date is coming from I cannot advise further.
Andrew
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Telen Wang as our August 2025 Community…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tomac 986 Moderator
stampcoin 699 Super User 2025 Season 2
Riyaz_riz11 577 Super User 2025 Season 2