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 / Dynamically Populate v...
Power Automate
Answered

Dynamically Populate values from multiple rows in a sharepoint to a Word Document

(0) ShareShare
ReportReport
Posted on by 134

Hello,

 

I am creating invoices that could have multiple rows with multiple parts:

gstredny_0-1713361097050.png



I am trying to populate this into a table for each invoice for a Word Document, but not sure how to do it for multiple rows?

gstredny_1-1713361143104.png

I typically just have one row and do this:

gstredny_2-1713361182345.png

 

I was told to craft an array and apply to each but a bit stuck on how to Append to array variables:

gstredny_5-1713361315648.png

 

 
 

 

 



Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    Can you provide me the source data. I'll see if I can build sample for you

     

  • gstredny Profile Picture
    134 on at

    My source data looks like this:

    gstredny_0-1713388614231.png

     

  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    Okay let me try

     

     

  • gstredny Profile Picture
    134 on at

    This is a Sharepoint List

  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    My list

     

    SudeepGhatakNZ_0-1713390318801.png

    My template 

     

    Title 

    Parts And Labor 

    Item No 

    <<foreach [contract in datum]>><<[contract.Title]>> 

    <<[contract. PartsAndLabor 

    ]>> 

    <<[contract.itemNumber]>><</foreach>> 

    SudeepGhatakNZ_0-1713400683541.png

     

     

    The flow:

     

    I have simply added the output of the array variable in a compose and passed it as a data object to Encodian

    SudeepGhatakNZ_1-1713400786451.png

     

    Final Output

    SudeepGhatakNZ_2-1713400835327.png

     

     

  • gstredny Profile Picture
    134 on at

    Great thank you, I will try that

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 664

#2
Haque Profile Picture

Haque 460

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard