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 Platform Community / Forums / Power Automate / Filter Excel Data and ...
Power Automate
Unanswered

Filter Excel Data and Consolidate Row before Sending Email

(0) ShareShare
ReportReport
Posted on by 133

Hi All, 

 

I'm would like to create a flow that would help to fulfil the following: 

 

  1. Read from Excel Spreadsheet
  2. Identify all the sales personnel in "Username" column within the spreadsheet
  3. Identify all the rows of data that belongs to the same sales personnel
  4. Have email sent out with all the consolidated data (Date, Customer Name, Project Name Column) in a table and sent to all the respective sales personnel

Thanks in advance! 🙂 

Categories:
I have the same question (0)
  • tom_riha Profile Picture
    10,185 Most Valuable Professional on at

    Hello @hongdet ,

    I wrote an article on doing the same over data in SharePoint list here, your flow will be the same with the exception being that your source will be the Excel 'List rows...' action instead of 'Get items'.

  • grantjenkins Profile Picture
    11,063 Moderator on at

    @hongdet A couple of questions:

     

    1. Does your Excel file have a Table defined?
    2. Where do you get the emails from (respective sales personnel) where you send the data?
  • hongdet Profile Picture
    133 on at

    Thank you @tom_riha ,

     

    It was really helpful and I was able to sent those email out by following your suggestion. May I check if I'm able to add-in additional steps to further filter out those data? 

     

    I would like to further filter out the data and only sent row data that has "Sales Completed" in another Column? 

     

    Thanks in advance! 

  • hongdet Profile Picture
    133 on at

    Hi @grantjenkins ,

     

    1. Yes, the excel file does have a table defined (Table1)

    2. The email address is stated in all of the row within the table

     

    I was able to get the steps of filtering those data out and sent email to the respective agent based on the instruction @tom_riha has shared here

     

    I'm now trying to see if I could further filter out the data and only sent row data that has "Sales Completed" in another Column? 

     

    Thanks in advance! 

  • tom_riha Profile Picture
    10,185 Most Valuable Professional on at

    Hello @hongdet ,

    you have two options how to do that:

    1. you can filter directly in the 'List rows....' action to return only the rows with 'Sales Completed' right at the start

    2. you can add another filter in the 'Filter array' action where you search for each row per user to search not only rows for that user, but only rows for that user that must also have the status 'Sales Completed'

  • hongdet Profile Picture
    133 on at

    Hi @tom_riha ,

     

    Appreciate the advise! 

     

    So I got the filtering and condition working but for some reason it's only working for the "first set of record" when creating the HTML table. 

    hongdet_0-1677677129781.png

     

    From the second set onwards, it fails to create the HTML table:

    hongdet_1-1677677267391.png

     

    For context - 

    hongdet_4-1677677709705.png

    =======================

    hongdet_2-1677677321739.png

     

     

    Hope the information I've provided above isn't too confusing! 

     

    Thanks again in advance! 

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

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard