Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
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!!

Categories:
  • v-yueyun-msft Profile Picture
    on at
    Re: Export with Headings!

    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

  • AmeliaDwight Profile Picture
    92 on at
    Re: Export with Headings!

    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
    Re: Export with Headings!

    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

     

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

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 Apps - Microsoft Dataverse

#1
mmbr1606 Profile Picture

mmbr1606 22 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 19

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 15 Super User 2025 Season 1

Overall leaderboard

Featured topics