Announcements
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.
@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
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.
Hi @ccqn ,
Please try:
if( greater(startOfDay(item()?['Due Date']),startOfDay(utcNow()), 'yes', 'no' )
Best Regards,Bof
Hi @v-bofeng-msft ,
It says that the expression is invalid.
if(greater(startOfDay(item()?['Due Date']),startOfDay(utcNow())),'yes','no')
Best Regads,
Bof
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Haque 592
Valantis 340
11manish 284