Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
Unanswered

Excel to SharePoint list data issue with Null date values and date values with ISO format error

(0) ShareShare
ReportReport
Posted on by

HELLO TECHIES

This is really very bad experience for me working with MS flow data processing from Excel to SharePoint specially dates column.

I have across 20 date columns in single list and I am trying to just copy data from excel sheet to my SharePoint list   tried many possible ways

1. tried IF(empty(),formatDateTime(),'') expression with many possible ways but expression fails for Null values. 

2. tried actions condition for check null values even faced null values error and for formatDateTime() fails for 'dd/MM/yyyy' format its only need ISO format.

3.I had applied ISO format it self into excel action but still for few columns getting number formatted date values.

to resolve this issue don't know what i have to do now. experts and techies community kindly reply.

 

if(empty(item()?[]),null, addDays('1899-12-30',int(item()?[]),'yyyy-MM-dd'))

 

if(empty(items('Apply_to_each')?[outputs('Compose_4')]),null, addDays('1899-12-30',int(items('Apply_to_each')?[outputs('Compose_4')]),'yyyy-MM-dd'))

 

Error highlighted 

 

'if(empty(item()[outputs('Compose_HQ_Update1')]),null, addDays('1899-12-30',int(item()[outputs('Compose_HQ_Update1')]),'yyyy-MM-dd'))' cannot be evaluated because property '' doesn't exist, available properties

 

if I go with Compose i am getting this type of value

value exists : '47852'

if null : '""' or sometime '""""' kind of and its not acceptable 

i have tried expression null  but its not working error shows ''  as above already explain.

  • Community Power Platform Member Profile Picture
    on at
    Re: Excel to SharePoint list data issue with Null date values and date values with ISO format error

    explained issue on old post.

    https://powerusers.microsoft.com/t5/General-Power-Automate/How-enter-blank-values-into-SharePoint-date-field/m-p/1285185#U1285185 

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May 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 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492

Featured topics