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 UNION csv by DO...
Power Automate
Unanswered

How to UNION csv by DOS command action

(0) ShareShare
ReportReport
Posted on by 83

Hi 

 

The expected result is 12 rows instead of 6 rows. Also, I want the header only at the beginning, but I don't know how to do that. thank you for reading.

dominono9_1-1659517273754.png

 

dominono9_0-1659517259996.png

 

 

 

I have the same question (0)
  • LogicSmith Profile Picture
    225 on at

    If it were me, I would read the two CSVs into lists, one line per list item. Create a new list, copy item one into new list (that's the header line). Now copy the next three lines into the new list. Then, on the other list, copy in lines 2, 3, and 4. Finally, write the new list to a new CSV file.

     

    If you wanted to get fancy, you can write an algorithm that will step through both files, checking each line, and writing them in some kind of order (i.e. a sort or merge).

     

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 272 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 147 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 146 Super User 2026 Season 2

Last 30 days Overall leaderboard