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

Pivot the HTML table

(0) ShareShare
ReportReport
Posted on by 49
I want to display the data from multiple SharePoint columns in a cleaner way.
Currently, I am just numbering each item and then having the data displayed like this as part of the email body: 
1. Project Name: Lucid
2. Project Number: 12345D
3. Region: AMERICAS
4. Function: Customer Support
5. Cost Role: Level 2
6. Start Date: 1/1/2024
7. End Date: 12/31/2024
 
But I would like to display in more of a table format...however I cannot seem to get the column names to all show up in one column and the values for those columns to show up in the value column. 
I want to "pivot" the table like this: 
Categories:
I have the same question (0)
  • Verified answer
    David_MA Profile Picture
    12,980 Super User 2025 Season 2 on at
    I think you will need to provide more detail on exactly what you need and how you are currently getting the values. Based on what you show, I would just tell you to put the e-mail action into HTML code view and hard code the table into the e-mail and populate the cells in the column on the right with the values from your SharePoint list.


  • guanel1 Profile Picture
    49 on at
    As I am only pulling in one row of data into the email, this is how the data is determined.
    The data I want in column A is the column names that are listed in SharePoint
    The data in column B would be the actual data in that specific row. 
     
    for example: I want all the data from row 12 in the SharePoint to be sent to the owner of that row. So I would also only be pulling in one set of data from one row. 
     
    So I only want to pull in that row's data. 
    I believe that the hard coding option is the best way to do this. 

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

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard