Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Excel to Planner - Issue with dates

(0) ShareShare
ReportReport
Posted on by 18

 Hi,

 

I'm having an issue with passing due date from Excel to Planner. I'm using "List Rows Present in a Table" then using Apply to "Add a Task". Each time i run the flow, i get the error that the Due Date can be read (it changes the date to the integer equivalent). There are various suggestion on this site pointing using the function

 

 

 

 

addDays('1900-01-01',int(items('_')?['Date']))

 

 

 

 

 and others advising

 

 

 

 

addDays('1899-12-30',float(items('_')?['Date']))

 

 

 

 

I have tried both but when I try to save the flow I always an error "The template validation failed: 'The repetition action(s) '_' referenced by 'inputs' in action 'Create_a_task' are not defined in the template.'. Any suggestions on why this is happening?

 

Capture.JPG

 
  • pmc101 Profile Picture
    18 on at
    Re: Excel to Planner - Issue with dates

    Hi Jay,

     

    This did the trick! Thanks for your assistance 🙂

     

    Regards 

     

    Paul

  • v-litu-msft Profile Picture
    on at
    Re: Excel to Planner - Issue with dates

    Hi @pmc101,

     

    Just like @Jay-Encodian said, the expression you create is not correct. When used inside a repeating action over an array, return the current item in the array during the action's current iteration and return the current item from each cycle in a for-each loop. Use this function inside the for-each loop. You can get the values from that item's properties. by the expression item() or items('<loopName>'). 

    In your Flow, it should be item() or items('Apply_to_each_1') .

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Verified answer
    Jay-Encodian Profile Picture
    2,920 on at
    Re: Excel to Planner - Issue with dates

    Hey @pmc101 

    So, I mocked this up... and the following works:

    Expression: addDays('1899-12-30',int(item()?['Due Date']),'yyyy-MM-dd')

    1.png

    HTH

    Jay

    -------------------------------------------------------------------------

    If I have answered your question, please mark your post as Solved.

    If you like my response, please give it a Thumbs Up

  • Verified answer
    Jay-Encodian Profile Picture
    2,920 on at
    Re: Excel to Planner - Issue with dates

    Hey @pmc101 
    I don’t think you’re passing the correct value inside the int expression.

    I'll mock something up and test.

    HTH

    Jay

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