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 / 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 462

#2
Vish WR Profile Picture

Vish WR 256

#3
David_MA Profile Picture

David_MA 242 Super User 2026 Season 1

Last 30 days Overall leaderboard