Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi,
I have a requirement where I have to set up a folder structure on SharePoint and integrate it with Power BI so that the files stored in the folders are imported based on a refresh schedule/ manually. As part of the data import, I need to automatically populate couple of dimensions/ columns in the data model based on the SharePoint folder structure. For instance, if I have separate files placed in the below folder structure, and I have files that have lets say 10 columns of data (excel files AA and BB below). I need to pull the value 'Folder A' in a NEW column that is merged with the imported data adding an 11th column for all the records.
https://XXX.sharepoint.com/sites/RootFolder/Folder A/file AA.xlsx
https://XXX.sharepoint.com/sites/RootFolder/Folder B/file BB.xlsx
Any help will be greatly appreciated.
Solved! Go to Solution.
@Anonymous , refer how to add the folder name
https://community.powerbi.com/t5/Desktop/Folder-name-to-Column/td-p/600676
https://www.sqlservercentral.com/blogs/include-file-name-in-content-using-power-query
Happy to help!
@Anonymous , refer how to add the folder name
https://community.powerbi.com/t5/Desktop/Folder-name-to-Column/td-p/600676
https://www.sqlservercentral.com/blogs/include-file-name-in-content-using-power-query
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
27 | |
26 | |
22 | |
12 | |
10 |
User | Count |
---|---|
25 | |
25 | |
21 | |
18 | |
11 |