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 / How to create custom h...
Power Automate
Unanswered

How to create custom html table based on excel?

(0) ShareShare
ReportReport
Posted on by 7

Hello Community, 

 

I am new to Power Automate, I have a use case that I need to send a customized email to each department owner with the list of invoices they responsible for, in the form of a table. The data source is an excel document which has all invoice details and owners. Each owner has multiple invoices.

 

When I use create html table from data operations, a table is getting created with all rows instead of only the items that the owner responsible for. Is it possible to add some condition or a filter so that a custom html table is created for each owner?

Categories:
I have the same question (0)
  • CU-18081211-6 Profile Picture
    9,270 Moderator on at

    Hi @bairi931549 ,

     

    You can filter data before Create Html Table action, using operation ->Filter Array action like this:

     

    gabibalaban_0-1613838332853.png

    But let's go from the begining:

    1. After reading the Excel file, use a select action to get the owners column and after that use:

    union(body('Select'),body('Select')) (where body('Select') is the result of select action)

    gabibalaban_1-1613840361376.png

    Having the owners list, you can use an Apply to each action to iterate through this items:

    Capture.PNG

    You have to adapt formula to your needs.

    Please note that this approach may not work accuratelly with a large data hosted in your Excel file. For this you have to query the excel file inside Apply to each with a Excel - List rows present in a table setting the query to

    owner eq 'items('Apply_to_each')['Owner']' (where items('Apply_to_each')['Owner'] is written in expression).

     

    Hope it helps !

     

     

     

  • bairi931549 Profile Picture
    7 on at

    Thank you very much sir. I am almost there but can I loop through this in by Owner. My Owner should be dynamic from the excel. I could not find much excel filters. I have many PO Owners who should receive the notifications with the POs they own so I do not want to add too many FilterArray or change the flow every time and it is difficult when the owners change.

     

    PO Snap.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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard