Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Solved! Go to Solution.
Thank you Jorge. I found this article works and solves the problem.
https://powerbi.tips/2016/08/using-variables-for-file-locations/
Adding the back slash at the end of the copied file path saves my day. Preciely the line below:
= Excel.Workbook( File.Contents( Folder & "2000 Medals.xlsx") , null , true )
Thank you Jorge to give me the hint and confidence working in this direction.
hi Jorge,
Many thanks for the quick reply.
Could you stipulate how it works? Or help google an relevant article or video?
i tried and failed.
I get below:
at point 1, the parameter is used. at point 2, it is still with the raw folder path.
If i replace the folder path with Source, I get an error.
Thank you Jorge. I found this article works and solves the problem.
https://powerbi.tips/2016/08/using-variables-for-file-locations/
Adding the back slash at the end of the copied file path saves my day. Preciely the line below:
= Excel.Workbook( File.Contents( Folder & "2000 Medals.xlsx") , null , true )
Thank you Jorge to give me the hint and confidence working in this direction.
You're welcome 🙂 Well done!
I reccomend you the following:
1. Create a parameter with the folder path
2. Go to New Source choose Folder
3. When it asks for the path change to parameter
The same way you can use parameters for one excel file you can also make for the folder path.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
14 | |
13 | |
12 | |
12 | |
12 |