Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I need help to load data from folder and add new columns with folder path.
I have a folder [C:\Report] and subfolders [Joe, Mike, Paul]:
Folder
In each subfolder I have a Excel file as a report.
file
In each Excel file I have just two columns (with different values):
contents
I imported the folder and combined the Excel files:
folder imported
files combined
Now, I need a new column in the table that was combined with Path Folder:
new column
Thanks for any help.
MRBranco
Solved! Go to Solution.
Hi @MRBranco ,
Just select 'Removed Other Columns1' step in Applied steps and click the 'Folder Path' field to get the result:
Best Regards,
Yingjie Li
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi @MRBranco ,
Just select 'Removed Other Columns1' step in Applied steps and click the 'Folder Path' field to get the result:
Best Regards,
Yingjie Li
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
@MRBranco paste the M code from advanced editor, probably one of the steps has removed the column and in tht step you should not remove this path column and that will do it.
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
77 | |
74 | |
57 | |
39 | |
33 |
User | Count |
---|---|
70 | |
63 | |
57 | |
49 | |
46 |