Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Handling data in power automate

(0) ShareShare
ReportReport
Posted on by 41

 I have a flow where I am taking two CSV files (Customers and Products) and splitting the data into an array with field names:

I have an excel sheet that, using the excel list rows present in a table/for each, I am filtering on the 'Customers' data.

In the customer data there is one or more products per line. I'd like to do two things which I am unsure of the best method:
1 - check the customer product against the 'Products' data and take a different action depending on this result
2 - One of these actions where the data is present - transform the customer data so that instead of a line per customer, per product, I have a single customer entry and add columns per product and their associated count

Before

CompanyProductCount
Company a Product 150
Company aProduct 2100

 

After

CompanyProduct 1Product 2
Company a50100

 

  • Johnnyoc Profile Picture
    41 on at
    Re: Handling data in power automate

    This doesn’t help at all. 

  • lbendlin Profile Picture
    8,041 Super User 2025 Season 1 on at
    Re: Handling data in power automate
    One of these actions where the data is present - transform the customer data so that instead of a line per customer, per product, I have a single customer entry and add columns per product and their associated count

     

    Nooooo...  that's the antithesis of good data modeling. Please don't.

     

    Your Before format is perfect.

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1