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

Html table

(0) ShareShare
ReportReport
Posted on by

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:
I have the same question (0)
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    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
    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
    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
    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
    on at

    Hello Please can you help?

     

  • Community Power Platform Member Profile Picture
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 323 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 183 Most Valuable Professional

Last 30 days Overall leaderboard