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.
Hello All,
I am attempting to create a Power Query that uses a specific location but with different folder names and then picks up whatever file(s) are in that dynamic location. As an example
\\network\files\Client1\*.*
\\network\files\Client2\*.*
\\network\files\Client3\*.*
So the goal would just be to use an excel file with the names of Client1, Client2 and Client3 in order to change that location to the specified client and then pick up all files in that folder.
Can someone help me out with this? Let me know if you have any questions.
Thanks in advance
Solved! Go to Solution.
Hi @arosenberg ,
You can replace the Client part of your connection path with a parameter, and connect to files under different paths by selecting a different Client in the parameter:
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @arosenberg,
1.) create dropdown list in Excel:
2.) Create Named Range I choose "SelClient" and send it to PowerQuery:
3.) In Power Query right click inside the cell and choose Drill Down
4.) Create new query from FOLDER and edit address like this:
Hi @arosenberg,
1.) create dropdown list in Excel:
2.) Create Named Range I choose "SelClient" and send it to PowerQuery:
3.) In Power Query right click inside the cell and choose Drill Down
4.) Create new query from FOLDER and edit address like this:
Hi @arosenberg ,
You can replace the Client part of your connection path with a parameter, and connect to files under different paths by selecting a different Client in the parameter:
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
15 | |
11 | |
8 | |
8 | |
7 |
User | Count |
---|---|
15 | |
13 | |
9 | |
7 | |
6 |