web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / For Each Flow Building
Power Automate
Unanswered

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
    152,845 Most Valuable Professional on at
    For Each Flow Building
    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
    152,845 Most Valuable Professional on at
    For Each Flow Building
     
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard