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.
Hello,
Trying to get a list of all .PBIX files on a SharePoint Site within PowerBI itself.
I've tried the Get Data | SharePoint Folder, etc. and am looking to return all PBIX files in the entire SharePoint site from all of the folders in the SharePoint O365 Site(s) into a PowerBI Table.
Thank you
Solved! Go to Solution.
As soon as you connect, the first thing you will see is a file and folder listing.
Filter the EXTENSION field by PBIX files. You might need to filter by PBIX and pbix as the filter is typcially case sensitive.
let
Source = SharePoint.Files("https://tenant.sharepoint.com/sites/sitename/", [ApiVersion = 15]),
#"Filtered Rows" = Table.SelectRows(Source, each ([Extension] = ".pbix" or [Extension] = ".PBIX"))
in
#"Filtered Rows"
Then remove the columns you don't need and load the table.
If you are trying to get all PBIX files from all SharePoint sites in the tenant, you probably need PowerShell to do that. Power BI works on one site at a time.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingAs soon as you connect, the first thing you will see is a file and folder listing.
Filter the EXTENSION field by PBIX files. You might need to filter by PBIX and pbix as the filter is typcially case sensitive.
let
Source = SharePoint.Files("https://tenant.sharepoint.com/sites/sitename/", [ApiVersion = 15]),
#"Filtered Rows" = Table.SelectRows(Source, each ([Extension] = ".pbix" or [Extension] = ".PBIX"))
in
#"Filtered Rows"
Then remove the columns you don't need and load the table.
If you are trying to get all PBIX files from all SharePoint sites in the tenant, you probably need PowerShell to do that. Power BI works on one site at a time.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingCovering 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.