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 / Handling data in power...
Power Automate
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

 

Categories:
  • lbendlin Profile Picture
    8,726 Super User 2026 Season 1 on at
    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.

  • Johnnyoc Profile Picture
    41 on at

    This doesn’t help at all. 

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 445

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 300

Last 30 days Overall leaderboard