web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Dynamic HTML table fil...
Power Automate
Unanswered

Dynamic HTML table filter query

(0) ShareShare
ReportReport
Posted on by 38

Hi all

 

I am trying to send a mail to select recipients only the data pertaining to them in the excel table. Tried to use these steps

1.Manual trigger flow

2.List rows present in a table

3.filter array to only list those records where there is a performance gap and needs to be mailed.

4.create html table

5.initialize variable for email field

6.apply to each - append email to string variable from array

7.send an email to the email variable.

 

But the problem is things are working till point 4. the mail is triggering all the filtered records as one html table to all the mail id's together. How do i send the specific html table/record  to only those mail id who are added to the resp. rows. 

 

the flow is like this. 

 

Vikram_Vh_0-1617910949805.png

 

Vikram_Vh_1-1617911003333.png

 

Vikram_Vh_2-1617911053850.pngVikram_Vh_3-1617911097828.png

 

please suggest on what's missing /where I am going wrong. Thank you in advance

 

regards

vikram

Categories:
I have the same question (0)
  • Vikram_Vh Profile Picture
    38 on at

    @DamoBird365 I saw your video before building this flow. But somehow this is not working. can you pls help.

  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    Hi @Vikram_Vh 

     

    If the emails are in the filter array?  Perform a select on the filter by using the text mode for the map and providing the email dynamic content.  This will give you an array of emails and if they are dupicated you can use compose with a union on the same array union(select array,select array) and then join the result with a semi colon ready for Send Email.

     

    Hope that makes sense and I have understood.

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    Cheers,
    Damien


    P.S. take a look at my new blog here

  • Vikram_Vh Profile Picture
    38 on at

    Hi @DamoBird365 Appreciate your immediate revert. if its possible, can you show your suggestions as some screenshots of which actions to picked (will be a great help). e.g. are you i have added one filter array already to filter out only applicable records. are you suggesting i add one more filter array as below. But then how do i use the dynamic email id on both ends of the filter?

     

    Vikram_Vh_2-1617913258776.png

     

     

     

  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    Hi @Vikram_Vh 

     

    no more filters....

     

    A select (on email field)

    A compose - union(select, select)

    A compose - join(on above select with 😉

     

    the union is only required if the emails are duplicated but I’m assuming they will be.

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    Cheers,
    Damien


    P.S. take a look at my new blog here

  • Vikram_Vh Profile Picture
    38 on at

    Hi @DamoBird365 

     

    Tried to add the actions as suggested..I guess I am doing something wrong. Attaching my complete flow for your perusal 

     

    Vikram_Vh_0-1618306548044.pngVikram_Vh_1-1618306579264.png

    Vikram_Vh_2-1618306614397.png

    Vikram_Vh_3-1618306648100.pngVikram_Vh_4-1618306684442.png

    To summarize, out of the rows appended, only rows for dealer a and b should go to sales rep 1, and dealer d and f to sales rep 3. not all rows to all mail id;s. 

     

    DealerTargetActualSales RepEmail
    a10511@gmail.com
    b10611@gmail.com
    c101022@gmail.com
    d10433@gmail.dom
    e10622@gmail.eom
    f10833@gmail.fom

     

    thanks for your patience...

     

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 176 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 96 Super User 2026 Season 1

Last 30 days Overall leaderboard