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 have a number of CSV files in a SharePoint folder that I would like to combine and use as a datasource much the same way you can use the Folder connector. But, when I select SharePoint Folder, it only wants the root URL for the site not including subfolders. The site contains a ton of other stuff that I dont want to combine and then filter out afterwards.
How can I acces the files in a particular subfolder?
Solved! Go to Solution.
Hi @TakedaBill ,
When using the Sharepoint folder you need to give the root folder (as you refer) the trick for this is then to select a file for the function that is on the folder you need to make the transformation, and when you go to the query where the implementation of the function is made, right after the first step (where you have all the information of the files/folders) you filter out by file location only the folder you need.
So you are not filtering at the first step but is still doable.
Believe this is a limitation of the connector.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsI had the same issue.
In the end, I initially allowed it to load the whole SharePoint subsite and then went into the advanced editor and fixed it up in there:
Under the:
Source = SharePoint.Files("https://acme.sharepoint.com/sites/MySubsite", [ApiVersion = 15]),
line, I added an additional line:
#"Filtered Rows" = Table.SelectRows(Source, each ([Folder Path] = "https://acme.sharepoint.com/sites/MySubsite/Shared Documents/General/FolderName/")), including the comma at the end.
And changed the next line down, that was referencing Source, to reference #"Filtered Rows".
And that seemed to work.
Hi @TakedaBill ,
When using the Sharepoint folder you need to give the root folder (as you refer) the trick for this is then to select a file for the function that is on the folder you need to make the transformation, and when you go to the query where the implementation of the function is made, right after the first step (where you have all the information of the files/folders) you filter out by file location only the folder you need.
So you are not filtering at the first step but is still doable.
Believe this is a limitation of the connector.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCovering 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 |
---|---|
110 | |
94 | |
80 | |
66 | |
58 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |