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

Create custom excel tables from a general excel table

(1) ShareShare
ReportReport
Posted on by 60
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 Super User 2025 Season 2 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

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

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard