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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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