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 / Splitting up an excel ...
Power Automate
Unanswered

Splitting up an excel table and send in one email

(0) ShareShare
ReportReport
Posted on by

Hello everybody,

 

I am still new to Power Automate, but I want to access an excel table, pick rows of specific criteria and send one email splitting the table with these criteria, but also adding the criteria (name/email) and as a second criteria the mail of the supervisor in CC (example below). I thought of an 'apply to each' chain, but i'm not sure how to bring that back together in one email.

 

e.g.:

 

original table

ProblemInternSupervisor
broke projectorIntern 1Bob
cold coffeeIntern 2Susie
didn't cleanIntern 1Jannet
can't copyIntern 3Marley
/Intern 4Jannet

 

And the mail should be something like this:

 

"

Mail to: Intern 1, intern 2, intern 3

CC: Bob, Susie, Jannet, Marley

 

Here's is every interns recent issues:

 

Intern 1:

ProblemInternSupervisor
broke projectorIntern 1Bob
didn't cleanIntern 1Jannet

 

Intern 2:

ProblemInternSupervisor
cold coffeeIntern 2Susie

 

Intern 3:

ProblemInternSupervisor
can't copyIntern 3Marley

 

"

 

Categories:
I have the same question (0)
  • Verified answer
    v-yueyun-msft Profile Picture
    on at

    Hi , @Anonymous 

    This is my test Excel table:

    vyueyunmsft_0-1701829789877.png

    This is my test result :

    vyueyunmsft_1-1701829829481.png

    This is my flow:

    vyueyunmsft_2-1701829854280.png

    (1)The "List rows","Select","Select2","COmpose","Initialize variable" action:

    vyueyunmsft_3-1701829942896.png

    union(body('Select'),body('Select'))
     
    (2)The "Apply to each" action:
    vyueyunmsft_4-1701830149770.png

     

    (3)The last action:

    vyueyunmsft_5-1701830208201.png
    join(outputs('Compose'),';')
    join(union(body('Select_2'),body('Select_2')),';')
     

    Best Regards,

    Yueyun Zhang

  • Community Power Platform Member Profile Picture
    on at

    Hello, that is a great help. There is one error on my side though. During the "filter array" if I use "is equal to", my tables will be empty, and if I use "is not equal to" the whole table for each person is sent. Du you understand what I mean? Do you have an idea where the error could be? Thanks so far

  • v-yueyun-msft Profile Picture
    on at

    Hi , @Anonymous 

    Can you show your flow like screenshot? And you can also check run history in your side .

     

    Best Regards,

    Yueyun Zhang

  • Community Power Platform Member Profile Picture
    on at

    The output is gone after the filter array

     

    K1.PNG

    ThatOneIntern_0-1701845089456.png

     

  • v-yueyun-msft Profile Picture
    on at

    Hi , @Anonymous 

    Thanks for your quick response!

    Do you replace the columnName in your side?

    vyueyunmsft_1-1701845080580.png

    What did you put in your FIlter action?

     

    Best Regards,

    Yueyun Zhang

     

  • Community Power Platform Member Profile Picture
    on at

    Oh yeah I did that, but made a mistake there! Works now! Thank you.

    Can I wait a bit before marking your guide as "solution"? I am still working on some other things in that case, and would like to ask you, if I have further questions. Is that ok?

  • v-yueyun-msft Profile Picture
    on at

    Hi , @Anonymous 

    Thanks for your quick response! Good news for it works in your side ! 

    Happy to solve problems for you during work.

    And if you have other questions about this case, you can also submit a new case to this forum, and more people will help you.

     

     

    Best Regards,

    Yueyun Zhang

  • Community Power Platform Member Profile Picture
    on at

    Thank you for your great help and fast replies.

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard