Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Moh_ali_square
Advocate II
Advocate II

Power BI Template for Excel files using file location as a parameter

Hi, 

 

I am doing periodical reports right now on excel file extracted from a Database and other sources. I need to have a template to be used every month, qurder or year with a reference to new excel file. I have those files stored on a shared drive.

my question, how to make the excel file location as a parmeter, so every time I open a template, it asks me about file locations?

Thanks.

1 ACCEPTED SOLUTION
v-qiuyu-msft
Community Support
Community Support

Hi @Moh_ali_square,

 

In your scenario, you can use Query Parameter to pass dynamic Excel path. See: Power BI Desktop Query Parameters, Part 1.

 

q2.PNG

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-qiuyu-msft
Community Support
Community Support

Hi @Moh_ali_square,

 

In your scenario, you can use Query Parameter to pass dynamic Excel path. See: Power BI Desktop Query Parameters, Part 1.

 

q2.PNG

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-qiuyu-msft Thank you for your reply, I tried it. but it is asking for an absolute path not a paramter. so I can't change the absoule path to a paramter with this way. 

is there any other way to include the Excel workbook path as a paramter?

Thanks

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.