Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

How do I configure my Flow to handle the situation when the Date in XLS is blank?

(0) ShareShare
ReportReport
Posted on by 76

Hi,

 

My Flow reads an XLS and writes to a List.  When copying a Date field, I come across this problem.  When the Date in XLS is valid, it copies fine.  When the Date in XLS is blank, the Flow breaks.  How do I configure my Flow to handle the situation when the Date in XLS is blank?

 

Thank you!

  • Verified answer
    fchopo Profile Picture
    7,968 Super User 2025 Season 1 on at
    Re: How do I configure my Flow to handle the situation when the Date in XLS is blank?

    Hi @925stuart 

    You could use an expression like the following:

    if(equals(item()?['StartDate'], null), '', formatDateTime(item()?['StartDate'],'yyyy-MM-dd'))

    Where start date is the date column.

    You could also use Coalesce function: Blank, Coalesce, IsBlank, and IsEmpty functions - Power Platform | Microsoft Learn

    Hope it helps!

    Ferran

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1