Skip to main content

Notifications

Community site session details

Community site session details

Session Id : usM2dkHLrROltj6KSEWru0
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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
stampcoin Profile Picture

stampcoin 61

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 47 Super User 2025 Season 1

#3
rzaneti Profile Picture

rzaneti 31 Super User 2025 Season 1

Overall leaderboard
Loading started