Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Writing planner tasks to excel

(0) ShareShare
ReportReport
Posted on by

Hi, 

I am trying to create an automated flow to write planner tasks into an excel on One-Drive. I have been successful in pulling the data from the planner to excel.

My issue is that the flow is writing the tasks multiple times into excel.

 

E.g. If I have below 2 tasks in the planner:

Task 1

Task 2

When the excel is populated from the planner, it shows:

Task 1

Task 2

Task 1

Task 2

 

Below is the screenshot of my flow:

Power Automate.jpg

 

Can someone please help me figure out the issue with my flow as I have been unable to find the problem?

  • Verified answer
    Christopher S Profile Picture
    on at
    Re: Writing planner tasks to excel

    Hi @Anonymous 

     

    The problem is that you have an Apply to each inside another Apply to each, you just need to retrieve the planner tasks and loop through them (Apply to each) to insert them in the Excel file. If you check on your Flow, the "Get tasks" action is inside an apply to each and this creates the duplicates.

     

    Best Regards

    --

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions help users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,601 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,946 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow