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 / For Each Flow Building
Power Automate
Answered

For Each Flow Building

(0) ShareShare
ReportReport
Posted on by 224
I have a SharePoint list with the below info (Screenshot 1).
 
How do I set up my flow to get these items and create an item in a separate SP list where each date/flight is created for each crewmember (PIC, SIC, FA) Like in Screenshot 2?
 
Screenshot 1
 
 
 
Screenshot 2
Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    154,793 Most Valuable Professional on at
    Try this format in the Items of the Gallery - note the data sample utilised is subject to your Data Row Limit as there are many "local" functions in there, so I have used the newest records.
    ShowColumns(
       RenameColumns(
          Ungroup(
             AddColumns(
                AddColumns(
                   Sort(
                      SPListName,
                      ID,
                      SortOrder.Descending
                   ),
                   Crew,
                   PIC & "|" & SIC & "|" & FA,
                   'Calendar Title',
                   'A/C' & " " & Legs
                ),
                CrewSplit,
                Split(
                   Crew,
                   "|"
                )
             ),
             CrewSplit
          ),
          Value,
          'Crew String'
       ),
       Date,
       'Crew String',
       'Calendar Title'
    )
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)    Visit my blog Practical Power Apps    Buy me a coffee
  • WarrenBelz Profile Picture
    154,793 Most Valuable Professional on at
     
    A quick follow-up to see if you received the answer you were looking for or if you need further assistance.

    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)    Visit my blog Practical Power Apps    LinkedIn   

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 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard