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 Apps / Export with Headings!
Power Apps
Unanswered

Export with Headings!

(0) ShareShare
ReportReport
Posted on by 92

Hi everyone,

 

I have a table that i am exporting to excel using power automate. This is what i am using:

Set(varA,Concat(Tracks,Market & "," &Char(10))); 'PowerAppV2->Createfile'.Run(varA)

and it is working fine!

 

Only thing is, is that i would like it to have a header,

e.g from this to this

AmeliaDwight_0-1700667205065.png

 

any suggestions please?

 

Thanks!!

I have the same question (0)
  • v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @AmeliaDwight 

    According to your description, you want to create a excel file with the headers in Power Apps.

    You can refer to this steps:
    (1)This is my code in Power Apps Button-OnSelect:

    ClearCollect(Tracks , {Market:"Africa"},{Market:"UK"},{Market:"Spain"});
    Set(varA,JSON(Tracks,JSONFormat.Compact) ); 
    ExportwithHeadings.Run(varA);

    vyueyunmsft_0-1700703954989.png

    (2)This is my flow:

    vyueyunmsft_1-1700704014640.png

    The result is as follows:

    vyueyunmsft_2-1700704029135.png

     

    Best Regards,

    Yueyun Zhang

     

  • AmeliaDwight Profile Picture
    92 on at

    Hi @v-yueyun-msft 

    Thanks for this!

     

    Unfortunately my data table is very large (600 rows!!) so not sure i can do this?

    Is there a way i can edit the formula i used slightly? thanks!!

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

    Hi , @AmeliaDwight 

    In my understand , the 600 rows is no problem , you can try to use this in your side and pass it to the flow:

    Set(varA,Concat(Tracks,Market & "," &Char(10)));
    Set(varA,JSON(Tracks,JSONFormat.Compact) ); 
    'PowerAppV2->Createfile'.Run(varA);

     

    Best Regards,

    Yueyun Zhang

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 846

#2
Valantis Profile Picture

Valantis 532

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard