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 / Create HTML table , Ho...
Power Automate
Answered

Create HTML table , How to re arrange data of of rows into columns.

(1) ShareShare
ReportReport
Posted on by 23
Dear Team,
I have made a flow which takes data from Share point list and create a HTML table and then send email. This flow is working fine and I am getting out as below:
Since the out is always a single line of data, like Doctors Name, is this possible to get Header in one column and Data in another column. Many thanks for your support.
 
Regards Subodh
 
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,392 Super User 2025 Season 2 on at
    Hi
     
     
    Are you saying you want it vertical then?
     
    If you wanted that, I would need to see your flow to explain how to change it. But yes its more than possible to adjust your input data so that its vertical and not horizontal.
     
  • Verified answer
    tom_riha Profile Picture
    10,185 Most Valuable Professional on at
    Hello,
     
    If it's always just 1 column you don't need the 'Create HTML table' action, that one is designed to turn a whole array into a table. For one row you can build the html table by yourself using HTML coding directly, e.g. in a Compose action.
    <table>
      <tr>
        <th>HEADER1</th>
        <th>HEADER2</th>
      </tr>
      <tr>
        <td>Emergency</td>
        <td>Dr. Pankar...</td>
      </tr>
      <tr>
        <td>Intensive Care</td>
        <td>Dr. Ritu...</td>
      </tr>
      <tr>
        <td>First Floor</td>
        <td>Dr. Pradeep...</td>
      </tr>
      ...
      <tr>
        <td>DNB</td>
        <td>Dr. Deepika</td>
      </tr>
    </table>
    
     
    ----------------------------------------------------------------------------------
    Did the answer solve your problem? Please click "Does this answer your question" and give it a like to help others in the community find the solution too!
     
    You can find more of my solution on the blog: https://tomriha.com

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

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard