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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Repeating section in W...
Power Automate
Unanswered

Repeating section in Word Template is not working

(0) ShareShare
ReportReport
Posted on by 1,259 Moderator

I am trying to get the repeating section of a Word Template to work.  I'm not sure why it is not pulling the data correctly.  Instead it is only using the first record.  See the following information to see what is happening.


I believe this worked at one time and have recreated the section in the template and it still is only grabbing the first piece of information from the select array and duplicating as you will see below.

 

1.  There is a Select statement that gets the information that will be mapped to the repeating section of 

subsguts_0-1686842285946.png

 

2.  Here is the data it returns

subsguts_1-1686842532316.png

3.  Here is the place in the word template where it populates from the Output of this Select.  As you can see it show the two values that it will map as being different.

subsguts_0-1686843155754.png

5.  Here is the section of the Word template that will be populated:

subsguts_1-1686843223523.png

 

6.  Here is the section of the Word template that is populated, which repeats the first value in the Select array.  If I add more rows it repeats it for the number of rows there are, but it will not pull information as it looks like it is doing in the statement above.  In this example the second row should contain the Bill Area "TEST" shown above.

subsguts_4-1686842758322.png

 

NOTE:  At one point this worked and then it broke.  I've recreated this section multiple times and cannot get it to pull in more than the first row even though it appears that the flow is getting the values it needs.

 

I REALLY need someone to help me with this as I have been working on this for several days with no luck and no reference to how this can be resolved.

 

Thank you!

 

 

 

Categories:
I have the same question (3)
  • Rhiassuring Profile Picture
    8,690 Moderator on at

    Hmm usually when you're setting up a repeating section, you'd only set up the first row, showing how you want it to repeat. In your screenshot, it looks like you have 2 rows that you've populated with the content. Are you expecting doubles of rows, or, was this unintentional?

  • Verified answer
    subsguts Profile Picture
    1,259 Moderator on at

    I figured out the problem.  If you save your template when you are in design mode then you'll get this type of behavior.  So you need to make sure you are not in design mode when you save it.  I duplicated fixing, breaking, fixing, breaking, etc. to prove this was indeed the case.  So earlier when someone said they recreated it and it worked that was most likely that they saved it after exiting the Design. 

    Hope this saves others many frustrating hours 🙂

  • anothersphere Profile Picture
    14 on at

    OMG! Thankyou so much. Yes, it looks like if you save your template in design mode (tags showing) the merge goes awry with the repeated section repeating row 1. If you save not in design mode (tags not showing) its all good.

    I was getting very panicked - I had said I could do it and then when refining the styling the wheels fell off!

  • mart4 Profile Picture
    4 on at

    @subsguts you absolute star! I've lost hours and hours to this bug. Thank you so much.

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard