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 / footer for power autom...
Power Automate
Answered

footer for power automate html table

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi Team,

I want to send a daily report from SharePoint list to crewmembers using power automate. I done that one  . I used 'Create HTML Table'  to create the table. I want to add some more data like 'Total Quantity', 'Total Area' etc. to the table as footer . Someone please suggest how can I add footer with some data into that HTML Table.

Categories:
  • Mira Ghaly Profile Picture
    11,415 Moderator on at

    @Anonymous 

    You can use compose data operation to append to your output of the HTML table something like below:

    Mira_Ghaly_0-1635467097534.png

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Mira,

    I tried that way. But I need something like this.

    jainu_0-1635468569344.jpeg

     

  • Verified answer
    Mira Ghaly Profile Picture
    11,415 Moderator on at

    @Anonymous 

    Please try the below steps to insert Table Footer:

    1. Add a compose data operation with a Split function to get the string before the closure of table </table> 

    Mira_Ghaly_0-1635471153337.png

    split(body('Create_HTML_table'),'</table>')

     

    2. To get the Pre Table closure tag </table> Use below Expression

    Mira_Ghaly_1-1635471304528.png

    outputs('SplitByTableClosure')[0]

    3. Compose your table footer using another compose operation where you add the required <td> Columns an there values as required:

    Mira_Ghaly_2-1635471422855.png

     

    4. Concatenate tBody output with tfooter output as below

    Mira_Ghaly_3-1635471504472.png

    concat(outputs('tbody'),outputs('tfoot'))

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Mira, 

    the email report is coming like this.

     

    jainu_0-1635476410573.png

     

  • Mira Ghaly Profile Picture
    11,415 Moderator on at

    @Anonymous 

    Please make sure that you are using the Expression Pane when using any of the expressions as below:

    Mira_Ghaly_0-1635476714572.png

    Hope this helps!

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @Mira_Ghaly 

     

    Hi Mira,

     

     footer is showing an error when I write HTML Code in expression as shown below

    jainu_0-1635477747188.png

     

  • Mira Ghaly Profile Picture
    11,415 Moderator on at

    @Anonymous 

    For the tFooter you do not need an expression but still for sure you might need to use the Expression pane if you want to concatenate your totals.

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @Mira_Ghaly 

     

    Yes. It is working. Thank you so much

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 263

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard