Skip to main content

Notifications

Community site session details

Community site session details

Session Id : w/zP5CPdHZ8SRVLjxmQo43
Power Automate - Building Flows
Answered

Cloning the structure of a data table in Power Automate Desktop

Like (0) ShareShare
ReportReport
Posted on 4 Dec 2023 16:05:40 by 2

Hi all, 

 

I am trying to copy the structure (just the column headers no values) of one data table to another. My newly created data table should have the same columns as the other data table. 

 

I am trying to see if there are any functions that's similar to the Datatable.Clone function. I can create columns one by one but I don't think that's the effective way to do it.

  • v-xiaochen-msft Profile Picture
    on 06 Dec 2023 at 01:11:05
    Re: Cloning the structure of a data table in Power Automate Desktop

    Hi @PriyaSekar_21 ,

     

    Please try my solution above. It will copy the data table and remove all the items in it.

    If you have 10k rows, please filter your data table first, then copy the data table after filtering and delete the items in it.

     

    Best Regards,

    Wearsky

  • PriyaSekar_21 Profile Picture
    2 on 05 Dec 2023 at 15:21:46
    Re: Cloning the structure of a data table in Power Automate Desktop

    Thank you for responding!

     

    I am confused as to how this would copy the headers of one data table to another. Can you expand on that?

     

    Also, to be clear, let's I have data table with 20 columns (A,B,C etc.) with 10k rows. I want to create a data table that will have the same 20 columns with the same column headers with 0 rows. 

  • Verified answer
    v-xiaochen-msft Profile Picture
    on 05 Dec 2023 at 02:37:43
    Re: Cloning the structure of a data table in Power Automate Desktop

    Hi @PriyaSekar_21 ,

     

    Please try this

    vxiaochenmsft_0-1701743854066.png

     

    Best Regards,

    Wearsky

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 Automate - Building Flows

#1
David_MA Profile Picture

David_MA 310 Super User 2025 Season 1

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 271 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 249

Overall leaderboard
Loading started