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

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