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 / Adding Line Breaks whe...
Power Automate
Answered

Adding Line Breaks when Creating HTML Table

(3) ShareShare
ReportReport
Posted on by 29
Hi there!

I am working on a series of flows for a data collection project. On my last flow, per the request of my sales managers, I need to convert the weekly recap excel that is being generated in another flow into a Word doc. 
This is my flow as of right now:
So right now, this generates an output in a Word doc in a chart where I can easily convert the layout to text/paragraph, and I have it where the answer for the first question is bold.
Now I need to fix the spacing on the document where it will add a space between each set of results, which would be above Client 2 (from the answer from the first question). I've tried to add a break different ways and I am not having much luck. 
Any ideas?
Categories:
I have the same question (0)
  • Suggested answer
    David_MA Profile Picture
    14,056 Super User 2026 Season 1 on at
    As you show in your expression for the Compose action, just use two <b><b> tags instead of one to add a space in between.
  • Suggested answer
    WillPage Profile Picture
    2,323 Super User 2026 Season 1 on at
    <br> is the line break tag, not <b>. To get the line break to appear above the first row, your compose could look like this:

    replace(replace(replace(body("Create_HTML_table'),'<td></td>',"),' !* ','<br><br><b>'),' *! ','</b>')
  • Verified answer
    brittanykeating Profile Picture
    29 on at
    So I needed the bold for something else.
    Ended up solving it this way:
     
    replace(replace(replace(replace(body('Create_HTML_table'),'<td></td>',''),'!*','<b>'),'*!','</b>'),'</tr>','</tr><br/>')

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 557

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 264 Super User 2026 Season 1

Last 30 days Overall leaderboard