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 / How to Remove Blank Ro...
Power Automate
Unanswered

How to Remove Blank Rows from Table Created Using Create HTML Table Action

(0) ShareShare
ReportReport
Posted on by 36

My Flow creates an HTML table but the table has blank rows as the array that it receives is manually created from 4(columns)x44(rows) of data. The columns which are left blank in the list item end up creating empty objects in the array which results in blank rows. Is there a way to remove blank rows before or after the table is created and sent as an email?

 

Here's a screenshot of the array which calculates data from 44 teams (submitted in one long SP item ) and converts them to different values:

AshMSport_0-1708095993910.png

Then it's sent to Create HTML Table action:

AshMSport_1-1708096080176.png

When the email arrives it contains blank rows which is what I'm trying to remove:

AshMSport_2-1708096195648.png

 

Categories:
  • cchannon Profile Picture
    4,702 Moderator on at

    Instead of instantiating your array all at once, I would suggest initializing it empty, then loop over your rows, using Append to Array to add them to the array. Doing it this way will let you nullcheck each row and only add that row if it is not empty.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 292 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 128

Last 30 days Overall leaderboard