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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Msoede
Frequent Visitor

Excel mirrorring fabric table

Hi,

 

Hopefully someone know a bit more about the following. Would it be possible to have multiple files by different usesrs on sharepoint mirrorring to one and the same table in Fabric? I envision a situation in which managers edit a file and that the new rows are mirrorred to the same table in Fabric.

 

regards,

 

 

1 ACCEPTED SOLUTION
burakkaragoz
Super User
Super User

Hi @Msoede ,
Great 
follow up and thanks for clarifying your challenge. Since your Excel files are spread across multiple SharePoint sites (not just one folder), there are couple of ways to automate consolidation into single Fabric table, without relying on manual VBA scripts:

1. Use SharePoint Dataflows (with multiple sites):

  • In Power BI Dataflows (or Fabric Dataflows Gen2), you can connect to multiple SharePoint sites by adding each site as separate data source.
  • For each site, connect to the relevant Document Library and select the Excel files you want.
  • Combine (append) the data from all sources within your dataflow using Power Query’s “Append Queries” feature.
  • Apply your merge/deduplication logic at this stage.
  • Output the final table to your Fabric Lakehouse table (or any other Fabric destination).

2. Leverage Notebook/Script for Automation:

  • In Fabric Notebook, use the Python or Spark “SharePlum”/“Office365-REST-Python-Client” libraries to authenticate and connect to multiple SharePoint sites programmatically.
  • Loop over all sites and folders, read in all the Excel files, and merge their content.
  • Perform any row-level comparison or deduplication logic as needed.
  • Write the combined result directly into your Fabric Lakehouse or Data Warehouse.

Example Notebook Logic:

  • List all SharePoint site URLs in config array.
  • Authenticate once and iterate through each site, reading Excel files.
  • Use pandas (Python) or Spark for merging and cleaning.
  • Save/appends to the Fabric table.

3. Centralize File Drop-off (if feasible):

  • If you can control the workflow, consider having all managers drop their Excel files into centralized SharePoint folder, even if accessed from different sites.
  • This will simplify the data ingestion process, as the original suggestion would then work out-of-the-box.

Summary Table:

Approach Pros Cons

Dataflow (multi-site)No code, UI-based, easy monitoringNeeds setup for each site, may be slow
Notebook/ScriptFully automated, scalable, flexible logicRequires coding, maintenance needed
Centralized Drop-offSimplest ingestion, fewer connectionsRequires process change for users

If you want, can share sample script for connecting to multiple SharePoint sites and merging Excel data automatically in Fabric Notebook.

Let me know if you’d like further details or step-by-step guidance for one of these solutions!

 

If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, would be grateful for 'Kudos' if you found my response helpful.

View solution in original post

5 REPLIES 5
Msoede
Frequent Visitor

Dear Burakkaragoz, many thanks for your solutions. We will investigate further which route we will take!

Thank you so much for your kind words! I’m really glad I could help. If you have any more questions or need further assistance as you decide on your solution, feel free to reach out anytime. Wishing you the best of luck with your project and the route you choose!

burakkaragoz
Super User
Super User

Hi @Msoede ,
Great 
follow up and thanks for clarifying your challenge. Since your Excel files are spread across multiple SharePoint sites (not just one folder), there are couple of ways to automate consolidation into single Fabric table, without relying on manual VBA scripts:

1. Use SharePoint Dataflows (with multiple sites):

  • In Power BI Dataflows (or Fabric Dataflows Gen2), you can connect to multiple SharePoint sites by adding each site as separate data source.
  • For each site, connect to the relevant Document Library and select the Excel files you want.
  • Combine (append) the data from all sources within your dataflow using Power Query’s “Append Queries” feature.
  • Apply your merge/deduplication logic at this stage.
  • Output the final table to your Fabric Lakehouse table (or any other Fabric destination).

2. Leverage Notebook/Script for Automation:

  • In Fabric Notebook, use the Python or Spark “SharePlum”/“Office365-REST-Python-Client” libraries to authenticate and connect to multiple SharePoint sites programmatically.
  • Loop over all sites and folders, read in all the Excel files, and merge their content.
  • Perform any row-level comparison or deduplication logic as needed.
  • Write the combined result directly into your Fabric Lakehouse or Data Warehouse.

Example Notebook Logic:

  • List all SharePoint site URLs in config array.
  • Authenticate once and iterate through each site, reading Excel files.
  • Use pandas (Python) or Spark for merging and cleaning.
  • Save/appends to the Fabric table.

3. Centralize File Drop-off (if feasible):

  • If you can control the workflow, consider having all managers drop their Excel files into centralized SharePoint folder, even if accessed from different sites.
  • This will simplify the data ingestion process, as the original suggestion would then work out-of-the-box.

Summary Table:

Approach Pros Cons

Dataflow (multi-site)No code, UI-based, easy monitoringNeeds setup for each site, may be slow
Notebook/ScriptFully automated, scalable, flexible logicRequires coding, maintenance needed
Centralized Drop-offSimplest ingestion, fewer connectionsRequires process change for users

If you want, can share sample script for connecting to multiple SharePoint sites and merging Excel data automatically in Fabric Notebook.

Let me know if you’d like further details or step-by-step guidance for one of these solutions!

 

If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, would be grateful for 'Kudos' if you found my response helpful.

Msoede
Frequent Visitor

Thanks for your advice. Only challenge is that the files are not stored on one location on sharepoint but on multiple websites. I ended up with using some vba script in a file that writes down the data to a sql server table. 

Vinodh247
Super User
Super User

Did you try this step already? this shoudl work for you

 

  1. Managers Excel Files in SharePoint Folder

  2. Dataflow Gen2 / Notebook -> Reads all files from the folder

  3. Merge Logic -> Filters new rows or compares with previous state

  4. Append to Fabric Lakehouse Table

 

Please 'Kudos' and 'Accept as Solution' if this answered your query.

Regards,
Vinodh
Microsoft MVP [Fabric]
LI: https://www.linkedin.com/in/vinodh-kumar-173582132
Blog: vinsdata.in/blog

Helpful resources

Announcements
June Fabric Update Carousel

Fabric Monthly Update - June 2026

Check out the June 2026 Fabric update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.