Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Power Automate Excel list of rows Date format not ISO 8601

(0) 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_1-1690330578600.png

 

Wolfie82_0-1690330538577.png

 

Wolfie82_2-1690333097789.png

 

 

  • Wolfie82 Profile Picture
    22 on at
    Re: Power Automate Excel list of rows Date format not ISO 8601

    Hi @Sundeep_Malik ,

     

    I have tried the code with the empty date. But it failed at row 5, which the cell contains '-'.

    May I know how to handle '-' and blank date as well ?

     

    Also after the Due Date is converted from the string, I would like to use filter array to filter out those with blank and cell with '-' and Due date within 30days.

     

    Can i know if the converted dates can be apply using the below filter array expression. 

     

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

     

    Wolfie82_0-1690354891477.png

     

  • Sundeep_Malik Profile Picture
    6,480 on at
    Re: Power Automate Excel list of rows Date format not ISO 8601

    Hey @Wolfie82 

     

    I will suggest the following post whenever you are using excel data with dates:

     

    https://www.shanebart.com/ms-flow-excel-dates/

     

    Video tutorial(Empty dates not handles so follow above link for it):

     

    https://www.youtube.com/watch?v=uFZxXMuLj-E

     

    I hope this helps 🙂

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow