web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate Excel l...
Power Automate
Unanswered

Power Automate Excel list of rows Date format not ISO 8601

(1) ShareShare
ReportReport
Posted on by 22
Hi, 

 

I have a flow which is working which will auto send email for Due Date within 30 days.

But when I replaced with the a different excel file. The date format is not ISO 8601 so the rest of my flow does not works. 

 

Anyone could advise how to get the Due Date to become ISO 8601 

 

Wolfie82_0-1690345627387.png

 

 

Wolfie82_1-1690345627410.png

 

 

Wolfie82_2-1690345627425.png

 

 

Categories:
I have the same question (0)
  • trice602 Profile Picture
    16,135 Super User 2026 Season 1 on at

    Hi @Wolfie82 ,

     

    This should do it for you.  Please mark as a solution and/or thumbs up!  Always glad to help! Tom

     

    Compose 1: 

    formatDateTime('12-30-1899''yyyy-MM-dd')

     

    trice602_0-1690350567710.png

     

    Compose 2:

    formatDateTime(body('Add_to_time'),'yyyy-MM-ddTHH:mm:ss.0000000Z')

     

    trice602_1-1690350634262.png

     

    trice602_2-1690350754008.png

     

  • Wolfie82 Profile Picture
    22 on at

    Hi @trice602 

     

    Thank you so much for your help. I have encounter error as there is some blank cell and '-'

    in the Due date. How do I overcome this ?

     

    Wolfie82_0-1690358108747.pngWolfie82_1-1690358140796.png

     

  • trice602 Profile Picture
    16,135 Super User 2026 Season 1 on at

    Hi @Wolfie82 ,

     

    Please try and add a condition before add time.  This will check for blanks and "-" and skip those rows.  Please mark as a solution and give me a thumbs up if this works for you!  Always glad to help! Tom

     

    trice602_2-1690381196357.png

    trice602_3-1690381399570.png

     

     

     

    trice602_1-1690381173445.png

     

     

  • Wolfie82 Profile Picture
    22 on at

    Hi @trice602 

    I have added a filter array steps after the Compose from Add to Time compose to filter those cell than are blank and '-' and Due Date within 90 days.   It show BadRequest. The 'from' property value in the 'query' action inputs is of type 'String'.

     

    The value must be an array. How can I change the date to array for the Expression to work ?

     

    Wolfie82_1-1690437144452.png

    @if( not(or(equals(item()?['DueDate'],'-'),equals(item()?['DueDate'], ''))), less(item()?['DueDate'],formatDateTime(addDays(utcNow(),30),'yyyy-MM-dd')), false )

    Wolfie82_0-1690436576844.png

     

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 469

#3
11manish Profile Picture

11manish 364

Last 30 days Overall leaderboard