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.
I am helping a charity with Power BI.
As a trial I have successfully created a query to combine a number of Excel files in a SharePoint document library. When I try to recreate this query to combine the live files on the charities' SharePoint document library I get stuck at the first step of filtering down to the specific folder the files are in - no file names show up!!
I don't understand what I'm doing wrong.
Any ideas?
Hi @mikemagill,
Based on my test, this feature can work on my side like the picture below:
Would you please share some screenshots to clarify “I get stuck at the first step of filtering down to the specific folder the files are in - no file names show up”?
When you select the SharePoint Folder connector and enter the SharePoint site URL, are there records retrieved for this specific folder you mentioned?
Does the credential you used to retrieved data has permission to access the specific folder?
Regards,
Daniel He
The first part of the query is as follows:
let
Source = SharePoint.Files("https://#######.sharepoint.com/sites/man1", [ApiVersion = 15]),
#"Filtered Rows - DB Folders" = Table.SelectRows(Source, each Text.Contains([Folder Path], "Shared Documents/J. ##### DATABASE/Live & Archive Databases/")),
#"Filtered Rows - DB files" = Table.SelectRows(#"Filtered Rows - DB Folders", each Text.EndsWith([Name], " Live DB.xlsm") or Text.EndsWith([Name], " Archive DB.xlsm"))
in
#"Filtered Rows - DB files"
This query is fine on my SharePoint site and results in two files correctly being listed. On the charity SharePoint site, no files are listed.
I can view the files directly on the team site so I presume the credentials I entered also would permit the same.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
83 | |
70 | |
60 |
User | Count |
---|---|
150 | |
115 | |
104 | |
89 | |
65 |