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

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
    12,966 Super User 2025 Season 2 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,307 Super User 2025 Season 2 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

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard