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 / Create custom excel ta...
Power Automate
Suggested Answer

Create custom excel tables from a general excel table

(1) ShareShare
ReportReport
Posted on by 73
Hi group:
I have an excel table (.xlsx) of customers as a datasource, that I generate weekly with the fields
customer ID
customer name
address
Bank account
sale amount
.
How could I, with Power Automate, create and save a excel file with specific data from each customer from my source table?
 
File name must identify each customer since it contains their data
 

Thanks in advance
Categories:
I have the same question (0)
  • Suggested answer
    Xfiles1231 Profile Picture
    4 on at
    What I do is:
    1. List the rows of a table: with this you save them in a matrix variable and you do a validation to know if the client is already added, if not you add it.
    2. Apply to each of the values โ€‹โ€‹of the matrix and obtain the rows of each client with all their data
    2.1 You must have the template excel file ready with which you will enter all the client's data
    2.2 you save it in a route with the name of the client
    and so on.
    Forgive my English, I'm using Google Translate.
  • NsL Coder Profile Picture
    475 Moderator on at
    the table you have doesn't really have a "true" identifier for customer, as customer name is rarely unique. There are likely thousands of John Smith out there.
     
    That said, let me assume customer name is unquie. What I would do is:
    1. list rows of a table but only get output for the customer name
    2. use union() expression on the array of customer name that is returned, this will create an unique list of customer name
    3. apply to each unique customer name
      1. list rows of a table filter by customer name column of the customer name in the loop
      2. save the returned data (all for 1 customer name) to a new excel file
        1. there are 2 ways you can do this, ONE slow, which is add 1 record/row at a time
          OR
        2. use Graph API to save all records to the excel file at once
     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 167

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard