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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Automatic reading of newly created .xlsm files

Hi folks,

is there a way to get only the latest .xlsm files if you use a folder as source. To understand the situation a little better, I want to read data from a test, for each product a new test is made and a new .xlsm file is created, after the test is finished the data is put together in one file. I already read this file into the report. But the test takes several days and I would like to have the latest data in Power Bi before the test is finished. So when a new .xlsm file is created, it should be read automatically and as soon as it is older than 2 weeks and is in the merged file anyway, it should be removed. (The .xlsm file always looks the same)

 

kind regards
Lukas

1 ACCEPTED SOLUTION
v-xicai
Community Support
Community Support

Hi @Anonymous ,

 

You may upload the .xlsm files to SharePoint online, then use SharePoint folder to connect the data , use the URL below and use organizational account method.  In this way, the refresh synchronizes datasets and reports with their source files when publish to Power BI Service. See more: Connecting to Files in SharePoint & OneDrive with Power BI / Power Query.

 

https://xxxxx.sharepoint.com/sites/<sitename>

 

Best Regards,

Amy 

 

Community Support Team _ Amy

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-xicai
Community Support
Community Support

Hi @Anonymous ,

 

You may upload the .xlsm files to SharePoint online, then use SharePoint folder to connect the data , use the URL below and use organizational account method.  In this way, the refresh synchronizes datasets and reports with their source files when publish to Power BI Service. See more: Connecting to Files in SharePoint & OneDrive with Power BI / Power Query.

 

https://xxxxx.sharepoint.com/sites/<sitename>

 

Best Regards,

Amy 

 

Community Support Team _ Amy

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.