Skip to main content

Notifications

Community site session details
Power Automate - Building Flows
Answered

create a csv table with multi row header

Like (0) ShareShare
ReportReport
Posted on 5 Dec 2020 18:40:18 by 11

Hello,

 

I need to create a csv table which has a specific format / template with a 3 row header, for each column (like shown above).

 

StartDateStatusCall_SIDInteraction_ID
Start DateResponse TypeCall_SIDInteraction_ID
{"ImportId":"startDate","timeZone":"Europe/London"}{"ImportId":"status"}{"ImportId":"Call_SID"}{"ImportId":"Interaction_ID"}
«values»«values»«values»«values»

 

This is a specific format we use to import legacy data.

The first three rows are considered header for my platform. As the values are only expected in the 4th row of the file.

 

I have managed to create the csv all right with the right data in the value cells. All except for the header that I can't manage to have in 3 different rows / cells (all I could manage was to have all strings in the same cell).

 

Can you please advise on a way to achieve this?

  • Verified answer
    fchopo Profile Picture
    7,968 Super User 2025 Season 1 on 07 Dec 2020 at 20:14:58
    Re: create a csv table with multi row header

    Hello @sandracosta 

    I did a test on my side that it is working:

    headers.png

     

    In this example, we have an excel file with 2 columns (Region, Country). The steps are:

     

    1) Define headers (3 rows)

    2) List Excel Rows

    3) Select the Region and Country columns

    4) Create a CSV table

    5) Replace "Region,Country" string by the headers.

     

    Hope it helps!

    Ferran

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Automate - Building Flows

#1
David_MA Profile Picture

David_MA 202 Super User 2025 Season 1

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 200 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 177

Overall leaderboard
Loading started
Loading started
Loading complete