Forum Discussion
zcholla
4 years agoRegular Visitor
Connect directly to a specific SharePoint Folder - not the entire site
PROBLEM: I am workin on a few projects for a specific site in our sharepoint tenant. This site is extremely lare with over 3.5TB of data. I need to run a few reports that are specific to individual ...
Vijay_A_Verma
Most Valuable Professional
4 years agoYou can avoid it by this way
1. Create a blank query in Power BI.
2. Paste the below code there
let
Source = SharePoint.Contents("https://mycompany-my.sharepoint.com/xyzabc/", [ApiVersion = 15])
in
Source
3. Replace https://mycompany-my.sharepoint.com/xyzabc/ with your company's sharepoint root URL. (You already know this as you are able to connect it using Sharepoint.Folders.
4. Now, first column will have many tables. Click the table which contains your folder (this should be at the bottom). You may be required to click that column mulitple times depending upon how much down your folder is.
5. Once you reach to the required folder, do the required transformations
KatrinaCole
2 years agoNew Member
Yes! This works for me also.