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 / Create table from Exce...
Power Automate
Unanswered

Create table from Excel table

(0) ShareShare
ReportReport
Posted on by

Hi everyone, I hope you are alright!!

Can someone help me?

I want to filter values ​​from a column and create a table for each value that is equal. And send the table by email to the corresponding email.

Example:

1. My table:

SirCell25_0-1638879873505.png

2. Filtering

SirCell25_1-1638879913827.png

 

3. Sending email

Apple -> Send the apple table to apple@apple.com

Microsoft -> Send the MS table to ms@ms.com

Dell -> Send the Dell table to dell@dell.com

 

Thank you!!

Categories:
I have the same question (0)
  • miguelcas Profile Picture
    Microsoft Employee on at

    Hi @Anonymous 

     

    I'm going to assist you with your issue. First I guess we need to save the corresponding email, this can be save in the same table that you have in the example 1, also could be save in another excel table or SharePoint list that has the Fornecedor column and the corresponding email. This step it's need by the flow to retrieve the email that matches with Fornecedor column an send the email. 

     

    Let me know which option you will use to help you in the process of making the flow.

     

    Thank you for using Microsoft Power Platform Communities.
    Community Support Team - Miguel Castro.

  • Community Power Platform Member Profile Picture
    on at

    Hello Miguel Castro,

     

    I have another excel table saved on my OneDrive with supplier emails.

     

    thanks for the help.

  • miguelcas Profile Picture
    Microsoft Employee on at

    Hello @Anonymous 

     

    Ok perfect! Here it's a way to achieve what you want. 

     

    1. We need an instant flow that when you run the flow will ask for the supplier to sent the data. Then we are going to look for your table in example 1 to get the items from that supplier. Take a look of the filter query that it['s going to help us retrieving just those items. 

     

     

    miguelcas_1-1639062992554.png

     

    List rows in table action need to be set up with your excel table from example 1. 

     

    2. Then we are going to look for the email from that supplier with the action Get row. This action need to be set up with your suppliers table. 

     

     

    miguelcas_3-1639063135709.png

     

    3. Then, when we have the information, we need to create a Table that is going to be in the email. Please set columns to custom an then add the columns like the image. 

     

    miguelcas_4-1639063307804.png

     

    Let me know if this works for you! 

     

    Thank you for using Microsoft Power Platform Communities.
    Community Support Team - Miguel Castro.
    If this Post helps, then please consider Accept as solution to help the other members find it more quickly.

     

     

     

     

  • Community Power Platform Member Profile Picture
    on at

    Hello Miguel,

     

    this error appears:

    SirCell25_0-1639071924187.png

    My flow:

    PS.: Supplier = Fornecedor.

     

    SirCell25_2-1639072003890.png

     

    SirCell25_1-1639071973427.pngSirCell25_3-1639072033408.pngSirCell25_4-1639072053807.png

     

    SirCell25_5-1639072068585.pngSirCell25_6-1639072089547.png

     

    Now, my tables:

    Principal:

    SirCell25_7-1639072128906.png

    Fornecedores:

    SirCell25_8-1639072147411.png

     

     

  • Community Power Platform Member Profile Picture
    on at

    Miguel,

     

    I got it!! Missing quotes haha. Thank you!! God bless you!!

  • Community Power Platform Member Profile Picture
    on at

    Let me be a little more boring... can I send the emails without having to type the supplier, for example, create several tables and send them to the corresponding emails?

  • Verified answer
    miguelcas Profile Picture
    Microsoft Employee on at

    Sure! I'm going to explain you how @Anonymous .

     

    1. Eliminate the input variable from the trigger and add a List rows present in table action to retrieve all the suppliers. I renamed the action to better understanding.   

     

    miguelcas_0-1639150852909.png

     

    2. Add an apply to each loop that it's going to go through the suppliers. Then, add a List rows present in a table action that it's going to retrieve  the items. Using the filter query to get just the items from a specific supplier. Basically what we are doing here it's for every supplier we are going the look their items in order to create the table and send that table to the supplier's email. 

     

    miguelcas_1-1639151214341.png

    Note: In the filter query use the dynamic content of Supplier from the suppliers table. To get the item of each supplier in the table. 

     

    3. Add he create HTML table as equal from the first example and the send email too. 

     

    miguelcas_2-1639151352927.png

     

    Thank you for using Microsoft Power Platform Communities.
    Community Support Team - Miguel Castro.
    If this Post helps, then please consider Accept as solution to help the other members find it more quickly.

     

     

  • Community Power Platform Member Profile Picture
    on at

    Thank you brother! God bless you!

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

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard