web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard