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 / Changing Formatting of...
Power Automate
Unanswered

Changing Formatting of Dynamic Table

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all,

 

I have created a table in PowerAutomate, and I am trying to change the width of one of the columns, but I am having a couple of issues. I am a new user here and it won't let me upload pictures, so I will explain the best I can.

 

I have two SharePoint lists, a parent list and a child list. Each parent list could have a dynamic amount of child items (could be zero, could be multiple). I am trying to create a table (or at least multiple tables) that has the information of the relevant parent item at the top, along with relevant child items below.

 

To do this, I have initially used the 'Get Items' Action, to get only the specific Parent Item I am looking for, along with the child items related to this parent item. For table B (table I am creating to display child information), I am 'Initializing an Empty Variable (Array)' as a placeholder. I then am appending the columns I want in the table to the variable by using the following code / action items:

 

Append to array variable (which automatically applies to each child item that has been pulled in)

{"VariableTitle1":Variable1, "VariableTitle2": Variable2}

 

From here, I create a HTML table from this Array, and use that as an input into my final document. 

 

It works out great and creates a nice table with the relevant information, but when I am trying to change the formatting, specifically the width of the columns (I would like column 1(VariableTitle1) to be 10% width, and column2 to be 90%) I am running into issues. (Have not figured out if it is possible to change the width when 'appending to an array' or not) I am not sure if there is a better way to do this that would make this easier, but any help would be appreciated.

 

Thanks.

Categories:
  • Ed Gonzales Profile Picture
    4,531 Most Valuable Professional on at

    @Anonymous 
    Hi there.  You may be able to do this with padding.  Check out this post from @aprildunnam :  Formatting HTML Tables in Flow

     

    Either way, keep us posted.

    -Ed

     

    If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

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
11manish Profile Picture

11manish 249 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 202

#3
David_MA Profile Picture

David_MA 180 Super User 2026 Season 2

Last 30 days Overall leaderboard