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 exclude columns...
Power Automate
Unanswered

How to exclude columns with no value from HTML table?

(0) ShareShare
ReportReport
Posted on by 70

Hi,

 

I am trying to send information in a tabulated way via email to the user. How do exclude columns which are empty from the HTML table that will send via email to users.

For example: My table contains columns such as Program Name, Program Lead, Program Description, Program Stage. If the column Program Description is empty, then it wont get included in the HTML table. I just want to send email with information what are available and avid all empty columns to confuse people.

Categories:
  • Rhiassuring Profile Picture
    8,692 Moderator on at

    Hi there, 

     

    Are you using the "Create HTML Table" action to do this?

     

    You can use the "Select" action before turning it into an HTML table to exclude blank columns. 

     

    So, for example, you'd first iterate through each column - if it ends up empty, then don't add it to your mapping variable - if it has stuff, then do add it. 

     

    You can use an Array variable in the format of:

     

    {

    "Key":"Value",

    "Key":"Value"

    }

     

    To identify what should be pulled with the Select. 

     

    Then when you pass it to the Create HTML Table, and use "Automatic" - it'll just make a table from those unblank columns.

     

    R

     

     

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 229 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 223 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 136 Super User 2026 Season 2

Last 30 days Overall leaderboard