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

Get Data from Folder functionality in OneDrive?

Using the folder functionality, I can programmatically get the newest spreadsheet in a local folder. Is this same functionality available through a OneDrive for Business folder?

 

I've seen the Sharepoint Folder option, however it only allows the root URL.

 

4 REPLIES 4
v-qiuyu-msft
Community Support
Community Support

Hi @Anonymous,

 

Based on my research, there is no OOTB data source we can use to type the OneDrive for Business folder path. As you know, the SharePoint Folder data source can only be used for typing OneDrive root URL rather than folder path.

 

One workaround you can try is Set up your computer to sync your OneDrive for Business files in Office 365, then use Folder data source to get folder from OneDrive for Business.

 

q4.PNG

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

I'm currently using that. However, I want to schedule a refresh, and that requires a Pro license and a connector. That's okay, but I'd like to avoid it if possible.

Hi @Anonymous,

 

As you connect to the local folder data source, it requires gateway to enable refresh after publish to service which needs Pro license. See: Power BI Pro content - what is it?.

 

In your scenario, you can consider to try Power BI Pro 60 day trial. Or you can just connect to OneDrive online Excel use Web data source one by one rather than Folder, it doesn't require any gateway to refresh.

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

Top Solution Authors