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 / How to delete rows fro...
Power Automate
Answered

How to delete rows from csv file using Power Automate

(0) ShareShare
ReportReport
Posted on by 3

Hi, I need to delete the highlighted rows in the attached screenshot, from Power Automate. They are dynamic strings that are added in each report, but they are not necessary to generate the json, can you think of something?

 

migdc_1-1669044892381.png

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-dezhili-msft Profile Picture
    Microsoft Employee on at

    Hi @migdc ,

    A csv file is essentially a string, and you can manipulate it with Split().
    I did a test hope it can help you.

     

    concat('ID',split(outputs('Compose'),'ID')[1])

     

    vdezhilimsft_0-1669085093701.png
    vdezhilimsft_1-1669085093702.png

    Best Regards,

    Dezhi

  • GUSers-OTP Profile Picture
    29 on at

    Hello, I came across this thread that appears to be an efficient way to ignore my irrelevant first row of data in my CSV file. However, I'm not grasping everything that needs to happen here.

     

    I think that I've essentially got the same situation as @migdc described. I've included a screenshot for reference.

    In Dezhi's (@v-dezhili-msft) post, there are two Compose actions, so I'm not sure what should be in that first one as it's referenced in the second one.

    Also, I'm assuming the 'ID' reference is the first actual column name, so mine would be 'Header1', right?

    Then is the [1] referencing something specific? I'm not sure I'm following that piece.

     

    Needless to say, my initial attempt at incorporating this action resulted in a failure, so looking for some clarification to help put that in place and start working through the remainder of what I'm trying to piece together for handling my CSV file.

    Power Automate CSV Example 20240710.png

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 77 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 68

#3
Expiscornovus Profile Picture

Expiscornovus 56 Most Valuable Professional

Last 30 days Overall leaderboard