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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Johann_32
Advocate II
Advocate II

Automatically detect new excel files in Sharepoint Folder and load them to semantic model

Hello,

 

we have a very specific request, in which users are storing several Excel Files (different file names, same amount of columns and same name of columns inside) per week in a sharepoint folder. This means, each of those files only differs in the rows.

 

Now, we know how we can merge multiple Excel files together in one table in Power BI Desktop, but this is not enough.

After the report is built and published, there should be a kind of mechanism to detect when again a new file was stored in that Sharepoint Folder, and that excel file should also be loaded into the semantic model to have newest data available in the report.

 

We know this is a very uncommon request, as data should be collected in one or several defined Excels, but still I would like to ask if somebody had that challenge in the past.

 

Thank you 

 

Johann

1 ACCEPTED SOLUTION

You're right. To add new files to the semantic model you need to save the files that have the same structure in the same folder and use "GetData" from Sharepoint Folder. You can learn about it in this video - link

View solution in original post

3 REPLIES 3
Sergii24
Super User
Super User

Hi @Johann_32, you can use Power Automate to obtain the desired result:

Sergii24_0-1711535306231.png


In the first step you can also detect any changes in the folder which will trigger the following actions. Delay is used to make sure that file has been properly uploaded to SharePoint and all sync has been finished. Then you refresh a semantic model. 

Have a great day! 

 

Thanks for the quick reply!

 

As far as I understand, this would help only for triggering the refresh. But it does not add completely new Excel files to the Report and Semantic Model, that have never been before in the report.

 

Or did I misunderstood?

You're right. To add new files to the semantic model you need to save the files that have the same structure in the same folder and use "GetData" from Sharepoint Folder. You can learn about it in this video - link

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.