Folder.Contents is a Power Query M function that retrieves a table containing information about each folder and file found in the specified folder path. The function returns a table with folder and file properties and a link to their content.
Compatible with: Power BI Service Power BI Desktop Excel Microsoft 365
Syntax
Folder.Contents(
path as text,
optional options as nullable record,
) as table
Description
Returns a table containing a row for each folder and file found in the folder path. Each row contains properties of the folder or file and a link to its content. The options parameter is currently intended for internal use only.
Related functions
Other functions related to Folder.Contents are:
2023-2026 © BI Gorilla. All rights are reserved. Information from Microsoft docs is property of Microsoft Corp. | Privacy Policy