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?
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.
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])
Best Regards,
Dezhi