04-20-2017 03:43 AM
04-20-2017 05:46 PM
Ok i've run some testing this morning, coincedently because a staff member also needed to do this today. Here is what we did and it worked.
Select new data source and choose "SharePoint Folder" or "SharePoint List" depending on what task you are performing. Choose https://companyname.sharepoint.com/Site1/ and then locate the files/lists as they appear in this list. Everything should be in here for Site1. On mine there is a "Folder Path" column which might help you filter down.
04-20-2017 11:29 PM
@Ross73312 this is what i get if i try to reproduce your steps (sharepoint folder).
There is no possibility to drill down to subfolders from here. It just retrieves some nonsense data.
Does it have anything to do with the structure of the sharepoint folders/subfolders etc?
The weird thing is that in app.powerbi.com works just fine...
If i choose sharepoint list i get the following screen.
I can check/uncheck the subsites on the left side, but the information in it is nonsense, i should be able to browse to those subfolders and select a worksheet.
04-20-2017 11:33 PM
It depends whether you are using Lists or Files. Based on your original description, files will be what i imagine you need.
Have another look at your files list and there should be a column called "Folder Path". You should be able to use this to find the files in your subfolders. Essentually all of the files are there in that single list.
04-21-2017 12:14 AM
I've been struggling in the past week to connect PowerBI Desktop to sharepoint online to extract some data from excels.
I've encountered the following problem:
- When connecting to the sharepoint site https://company.sharepoint.com/Site cannot browse further my companys subsites in order to select the data that i need. I get the following screen:
In this screen if i select the subsites on the left i get nonsense data in the right. My data should be in these subsites in the form of excels.
If i try to connect directly to the subsite i get the following error:
Details: "Microsoft.Mashup.Engine1.Library.Resources.HttpResource: Request failed:
OData Version: 3 and 4, Error: The remote server returned an error: (404) Not Found. (Not Found)
OData Version: 4, Error: The remote server returned an error: (404) Not Found. (Not Found)
OData Version: 3, Error: The remote server returned an error: (404) Not Found. (Not Found)"
If i type in the full path of my folder i get the following message:
The weird thing is that if i follow the same steps in app.powerbi.com i get a screen in which i can browse my subsites/folders and get my data.
I want to do this in PBI Desktop, not Web.
I'm mentioning that i have the latest version of PBI Version: 2.45.4704.722 64-bit (April 2017)
04-24-2017 02:54 AM
Navigate to the home page of your subsite in browser, then copy the URL which is like: https://XXXX.sharepoint.com/sites/patrick/team1/SitePages/Home.aspx, then exclude “/SitePages/Home.aspx” part from the URL and enter URL like https://XXXX.sharepoint.com/sites/patrick/team1 in SharePoint connector in Power BI Desktop.
02-26-2018 11:53 AM
Hi, my PBI is in portuguese so I may mistranslate something, hope you understand it: when I follow the proposed solution I receive a message saying "The Resource is Forbidden" (or equivalent in English). Do you know if this is SharePoint permission related?
05-31-2018 09:15 AM
It still does not work when i try to connect to on prem sharepoint list like: http://intranet.contoso.com/subsite using get data from sharepoint lists. But it works when i use get data from web and enter the above url. Any ideas?
05-31-2018 04:27 PM
Hi Andrei, Power BI is actually now up to May, but it shouldn't impact what you are attempting.
In Power BI Desktop, use the "SharePoint Folder" as your get data connection type. Provide it the URL without the "SubSite" portion.
The "Non-Sense" data you are seeing looks to be the SharePoint metadata and there should be a column that has the Binary in it. You can select the binary in the value cell and it should open the document.