Join 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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hey PBI'ers,
I have a parameter with a filepath.
with """&FilePath&"" I intergate this as my source in de advanced script editor.
But it's on my C: hardrive and I want have to implement 130 dashboards with the same data model.
So how can I get the currentfolder where the PBIX file is in + [filename](as my parameter input) in the
M language?
Thanks already, kind regards,
MrNelsch
Solved! Go to Solution.
Hey PBI'ers,
I have a parameter with a filepath.
with """&FilePath&"" I intergate this as my source in de advanced script editor.
But it's on my C: hardrive and I want have to implement 130 dashboards with the same data model.
So how can I get the currentfolder where the PBIX file is in + [filename](as my parameter input) in the
M language?
Thanks already, kind regards,
MrNelsch
Do the dashboards (report pages?) need to be in separate PBIX files or can you have them all in a single PBIX file?
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 59 | |
| 42 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 109 | |
| 101 | |
| 39 | |
| 29 | |
| 29 |