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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
Oemad987
New Member

Extract Data from sharepoint

Hello, 

 

I wonder how extract data from my company's sharepoint 

1 ACCEPTED SOLUTION
vojtechsima
Super User
Super User

Hey, @Oemad987 ,

I have blogs how to get data from SharePoint List or SharePoint Files:

https://www.vojtechsima.com/post/fix-slow-refreshes-faster-way-to-load-sharepoint-files-in-power-bi

https://www.vojtechsima.com/post/how-to-fix-slow-sharepoint-list-refresh-in-power-bi

 

If you want a general rule, use SharePoint.Contents over SharePoint Files (as that is slower).

 

If you go to Get Data, click Blank Query, then paste this:

 

= SharePoint.Contents("https://tenant.sharepoint.com/sites/siteName", [ApiVersion=15])

Fill the tenant and siteName and you'll get your files, then it's simple navigation with clicking.






Any kudos or recognition appreciated. To learn more on the topic, check out my blog and follow me on LinkedIn.

View solution in original post

4 REPLIES 4
v-saisrao-msft
Community Support
Community Support

Hi @Oemad987,

Checking in to see if your issue has been resolved. let us know if you still need any assistance.

 

Thank you.

v-saisrao-msft
Community Support
Community Support

Hi @Oemad987,

Have you had a chance to review the solution we shared by @cengizhanarslan @vojtechsima ? If the issue persists, feel free to reply so we can help further.

 

Thank you.

vojtechsima
Super User
Super User

Hey, @Oemad987 ,

I have blogs how to get data from SharePoint List or SharePoint Files:

https://www.vojtechsima.com/post/fix-slow-refreshes-faster-way-to-load-sharepoint-files-in-power-bi

https://www.vojtechsima.com/post/how-to-fix-slow-sharepoint-list-refresh-in-power-bi

 

If you want a general rule, use SharePoint.Contents over SharePoint Files (as that is slower).

 

If you go to Get Data, click Blank Query, then paste this:

 

= SharePoint.Contents("https://tenant.sharepoint.com/sites/siteName", [ApiVersion=15])

Fill the tenant and siteName and you'll get your files, then it's simple navigation with clicking.






Any kudos or recognition appreciated. To learn more on the topic, check out my blog and follow me on LinkedIn.
cengizhanarslan
Super User
Super User

  1. Go to Home → Get Data → SharePoint Folder
  2. Enter the SharePoint site URL
  3. Power BI will list all files in that site
  4. Filter to your file and open it.
_________________________________________________________
If this helped, ✓ Mark as Solution | Kudos appreciated
Connect on LinkedIn | Follow on Medium
AI-assisted tools are used solely for wording support. All conclusions are independently reviewed.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI 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.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors