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 / Dynamic HTML Table for...
Power Automate
Unanswered

Dynamic HTML Table for email

(0) ShareShare
ReportReport
Posted on by 76

I am new to creating HTML tables that can be used in a Power Automate script.  I am collecting details from a list.  There is the desire for the PDF I am creating using the html table to be dynamic to only include the fields that have data in them.  I have created a dummy table below to show my requirements to understand my question.  Any reference material or help in creating this is appreciated.

 

I want to vary what the PDF looks like Based upon a List field that is a boolean, so I assume I will have to have a condition to create the HTML table, but if I am able to create the html details just to not display if blank, I may not need a condition.

 

HEADER SECTIONDetails
Business SegmentThere are multiple options that can be selected.  Single choice.  Ie:  A, B, C, D
SubdivisionThis is only required if my value is A in Business Segment.  If it is blank, I don't want to include this in the header section.  (Choice Selection)
Product OwnerThis will only be filled out in specific scenarios.  If it is blank, I don't want to include this in the header (Person field)
Date Needed ByIf this is blank, I don't want this to be included in the header section.  (date field)
  
  
TABLE SECTION 
WhenThis is a date field, if blank, I don't want to include this in the table section.
Justify WhenThis is a string field, if it is blank, I don't want to include this in the table section.
WhyThis will always be required.  No issues with populating
WhatThis will always be required.  No issues with populating
WhoThis is an optional field. If blank, I don't want to include  this in the table section.  This will be a string variable.
VP AwareThis is a boolean field.  If it is false, I don't want to include this in the table section.
Categories:
I have the same question (0)

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard