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 / Excel to Planner - Iss...
Power Automate
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

 
Categories:
I have the same question (0)
  • Verified answer
    Jay-Encodian Profile Picture
    2,920 on at

    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

  • Verified answer
    Jay-Encodian Profile Picture
    2,920 on at

    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

  • v-litu-msft Profile Picture
    Microsoft Employee on at

    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.

  • pmc101 Profile Picture
    18 on at

    Hi Jay,

     

    This did the trick! Thanks for your assistance 🙂

     

    Regards 

     

    Paul

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 308 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 171 Super User 2026 Season 2

#3
Haque Profile Picture

Haque 137 Super User 2026 Season 2

Last 30 days Overall leaderboard