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 / Some dates not importi...
Power Automate
Unanswered

Some dates not importing to sharepoint from excel

(0) ShareShare
ReportReport
Posted on by 12

Hi there, 

 

I have an excel spreadsheet with four date columns; Year End, Import Deadline, Tax Due and Payment Due. All are hard-typed figures rather than calculated fields and are formatted in the same way. I have an automation built to create a sharepoint item using these values. 

 

I have done this for the year end using two compose steps. 

 

  1. Compose 'YearEnd', which pulls the value from excel. 

Compose 'SPYearEnd' which is the expression: 

if(empty(item()?['Year End']),null,addDays('1899-12-30',int(item()?['Year End']),'yyyy-MM-dd'))
 
This works perfectly for the year end column, but when I apply exactly the same steps to Import Deadline, Tax Due and Payment Due the fields are blank in SharePoint. 
 
Does anyone have any pointers? I can't understand why it works for one date and not another when they're formatted in the same way and I'm applying exactly the same steps. 
 
Thanks

 

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @AVG 

    You no longer need to do the addDays() expression.  In the Excel action, click on advanced options and set the DateTime format to ISO 8601.  Remove the AddDays expression and just reference Year End.  Re-run your Flow and post results here.

     

     

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 550

#2
Valantis Profile Picture

Valantis 390

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard