Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi Guys,
i want to take all my .pq files and merge them into one .m script using powershell.
Maybe do you have a sample code to do this?
After merging i can use it within my template power bi file...
Best,
Jacek
@jaryszek , In power query, you can copy paste code into power query
or Save the files in pbip/b format and then you can use code to merge the folder data where you have power query code.
thanks i do not want to copy and paste them manually, this why i created this post.
I want to move all my *.pq files into power bi desktop report automatically.
Thanks for help,
Jacek
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 77 | |
| 37 | |
| 31 | |
| 29 | |
| 26 |