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 / Split CSV file into mu...
Power Automate
Unanswered

Split CSV file into multiple CSV files based on a column value

(0) ShareShare
ReportReport
Posted on by

Hi there,

 

Per the attached 'Masterfile', the input data is shown as follows:

 

David52_3-1697033653145.png

 

 

I want to split this file into separate output files based on the value in the first column as follows:

 

'Masterfile_Fruit'

David52_1-1697033453340.png

 

'Masterfile_Vegetable'

David52_2-1697033512949.png

 

What is key is that I need to remove the first column values from the output and place that value (i.e. the category name) at the end of the CSV file name, and also remove any headers.

 

I have attached the files for reference, I couldn't attach CSV so uploaded Excel equivalent.

 

Any guidance would be greatly appreciated, thanks.

Categories:
I have the same question (0)
  • efialttes Profile Picture
    14,756 on at

    Hi @David52 
    Your challenge look similar to the one described in this post
    https://powerusers.microsoft.com/t5/Building-Flows/Split-excel-file-to-multiple-csv-files-based-on-column-value/td-p/2058431
    Please confirm us if you can implement a similar approach, and once you've done it we can provide you advise to adapt it for your needs (i.e. remove column names from output files, and also remove Category values)
    Thanx!
    =====

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

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard