Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Remove blank columns from HTML table

I have a flow which pulls data from a Forms submission into a formatted HTML table and sends this in an email. This is working great, however, I have branches in the Form so this means that some of the table columns are blank depending on the answers the user has chosen.


Is there a formula or expression I can use to remove blank columns from the table before sending it via email?

I have 12 columns in the table for each question, but due to branching only around 7/8 will be filled with response details. It would be easier on the eye and look more professional if these blanks were removed.


Thank you,



Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (4,374)