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 Automate
Answered

Html table

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi 

I have managed to produce an HTML Table.

Problem is data is coming out in columns. See image 1.

How can i convert to data coming out in rows. See Image 2

Thanks

JerryImage 1Image 1Image 2Image 2

Categories:
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

    Do you want to format html table with columns in multi rows?

     

    Actually, you should use CSS in a Compose to achieve this.

    "<table border=1 cellspacing=0>
    <tr>
    	<td>Customer:</td><td>Value1</td>
    </tr>
    <tr>
    	<td>Reported By:</td><td>Value2</td>
    </tr>
    <tr>
    	<td>Contact Information:</td><td>Value3</td>
    </tr>
    <tr>
    	<td>Issue Description:</td><td>Value4</td>
    </tr>
    <tr>
    	<td>Assign Team:</td><td>Value5</td>
    </tr>
    </table>"

    vqiaqimsft_0-1669257604173.png

    Note that you could replace the Customer with the header name in your scenario.

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Qi, 

    Thank you.

    How do i get the Value 1, Value 2 fields into the table please?

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

    That depends on how you get the value from the action.

    For example, you get the first record from the GetItems action, then you could get the Value1 like below:

    first(body('Get_items')?['Value'])?['Customer'])
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello, thank you for helping.

    This is how i get my data.

     

    Screenshot 2022-11-29 103903.png

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello Please can you help?

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello, ok i see now it works. But please see yellow high lighted text? What is this and how can i get rid of this?

    Thank you

     

    Jerryh1975_0-1670579285308.png

     

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 317 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 247

#3
Henil Profile Picture

Henil 117

Last 30 days Overall leaderboard