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 / 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:
I have the same question (0)
  • lbendlin Profile Picture
    8,479 Super User 2025 Season 2 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

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