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 / Create a CSV file with...
Power Automate
Unanswered

Create a CSV file without header

(0) ShareShare
ReportReport
Posted on by 691

I am trying to create a CSV file without a header and then create it in a Sharepoint folder. I retrieve my values from my MySQL database. I would like all the values from my database to be in my CSV file. I don't want to create one CSV file on Sharepoint per line, I want all my lines to be in the same CSV file.

I have this error 😞

Échec de l’enregistrement du flux avec le code « InvalidTemplate » et le message « The template validation failed: 'The inputs of template action 'Créer_un_tableau_CSV' at line '1 and column '30340' is invalid. Action 'Appliquer_à_chacun' must be a parent 'foreach' scope of action 'Créer_un_tableau_CSV' to be referenced by 'repeatItems' or 'items' functions.'. ».

 

 

s44_0-1710953460396.png

 

 

Can you help me please 😞 ?

 

Categories:
I have the same question (0)
  • Hii_iii Profile Picture
    691 on at

    .

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @s44 ,

     

    To remove the header of the CSV table, you just need to delete the first row of the result returned by 'Create CSV table'. I've made a test for your reference:

    vbofengmsft_0-1710985144915.png

    skip(body('Create_CSV_table'),add(indexOf(body('Create_CSV_table'),decodeUriComponent('%0A')),1))

    Result:

    vbofengmsft_1-1710985179890.png

     

    Best Regards,

    Bof

     

  • Hii_iii Profile Picture
    691 on at

    The problem is that it creates one file per line for me. I would like it to create just one file with all the lines from my database inside. I would like to have consecutive lines for all the elements that are in my "valeur_consommation" and "ug" field and consecutive lines for all the elements in my "etiquette_consommation" and 'ug" field

    s44_1-1711027709598.png

     

     

  • Hii_iii Profile Picture
    691 on at

    @v-bofeng-msft 

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 259 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 177 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 136 Super User 2026 Season 2

Last 30 days Overall leaderboard