Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
pmscorca
Post Patron
Post Patron

Looping to copy tables using a dataflow gen2

Hi,

I'd like to know if it is possible to implement a loop using a dataflow in order to copy some tables from a lakehouse to another lakehouse or warehouse.

Any suggests to me, please? Thanks

1 ACCEPTED SOLUTION
NandanHegde
Super User
Super User

Unfortunately, based on my understanding as of now dataflows cannot be parameterized for the source and sink names. So you cannot have a meta data driven framework and thus there is no sense with looping the dataflows




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

View solution in original post

3 REPLIES 3
NandanHegde
Super User
Super User

Unfortunately, based on my understanding as of now dataflows cannot be parameterized for the source and sink names. So you cannot have a meta data driven framework and thus there is no sense with looping the dataflows




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

Hi @pmscorca 

 

We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet.
In case if you have any resolution please do share that same with the community as it can be helpful to others.
Otherwise, will respond back with the more details and we will try to help.

 

Thank you.

frithjof_v
Super User
Super User

I never tried, but I don't think looping in order to create multiple destination tables is supported in Dataflow.

 

What is the reason you need to loop and create copy tables?

Why not use e.g. shortcuts or cross-database queries instead?

 

I would guess Notebook for looping.

Maybe it's also possible in Data pipeline?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

JanFabricDE_carousel

Fabric Monthly Update - January 2025

Explore the power of Python Notebooks in Fabric!

JanFabricDW_carousel

Fabric Monthly Update - January 2025

Unlock the latest Fabric Data Warehouse upgrades!

JanFabricDF_carousel

Fabric Monthly Update - January 2025

Take your data replication to the next level with Fabric's latest updates!

Users online (2,632)