How to make paths dynamic so that Power Query connections work on Dropbox shared files @CeliaAlvesSolveExcel
How to make paths dynamic so that Power Query connections work on Dropbox shared files  @CeliaAlvesSolveExcel
Uploaded September 2018 | Updated December 2026, 2 days ago
Previous videos:
1st Query - Selecting all Columns of a spreadsheet with Power Query does not get dynamic - youtu.be/Cfod_PUNWFo
2nd Query - Get the data from the most recent file in a folder with Power Query -
youtu.be/CJTt7e7PigQ

Case Scenario: You have a file on a Dropbox folder that contains Power Query connections, and you need those connections to work regardless of the computer from which you open that file.
Solution: Replace the path string in those queries by another string produced by another query that reads the location of the file when you open it.
This video explains how you can:
- Use the CELL formula to indicate file and folder paths
- Create a query in Power Query that produces a text string
- Replace the path string in the M code of a query
- Change the privacy settings in Power Query to allow file and folder paths defined by queries

@Oakley Turvey also posted a solution to this problem. Please see his video at youtu.be/bAprSW8moNo
__________________
Learn how to automate your Excel Reports in minutes instead of hours without copy-paste or coding: snapreportschamp.com/course
________________


Other techniques:
By Ken Puls - excelguru.ca/blog/2015/03/11/power-query-errors-please-rebuild-this-data-combination
By @ExcelTurbo - youtu.be/W00i60rCYt0

Caution when disabling Query Data Privacy checks, especially if you are using Power Query in Power BI - read this blog post by Chris Web, especially the last two paragraphs and the other post he mentions there: blog.crossjoin.co.uk/2018/12/27/data-privacy-settings-data-refresh-performance-power-bi-excel

Discussion on Microsoft's uservoice platform about the firewall issue: excel.uservoice.com/forums/304921-excel-for-windows-desktop-application/suggestions/32691571-add-get-parameter-button-to-power-query-and-avoid?tracking_code=3686f3c7f5c8869548a85e645537a162

Playlist “Excel and Power Query” – youtube.com/playlist?list=PL-UOviQH8I1VTbGkpZdxI3DlH00wprx7a
Subscribe to the channel - youtube.com/channel/UCzWFp4hOnIBHHCJi_SEWV7g
Intro video clip by Daniela Alfarrobinha – vimeo.com/danielaalfarrobinha
How to make paths dynamic so that Power Query connections work on Dropbox shared filesHow to rename columns in Power Query that change the name on each data updating - T0029How to combine pivoted data from multiple sheets in an Excel filePower Query unpivoting techniques to shape data into a Tabular layout | Excel Automation - L0015How to select shapes in Excel as in PowerPointHow to start the macro recorder in ExcelHow to combine in a folder multiple files with different column headers - T0030Why using Power Query instead of Excel formulas can be much more advantageous to compare two listsHow to unstack data in repeated groups of rows in the same column with Power Query in ExcelAdvanced Filter with VBAHow to combine Tables using the M Language Function Table.Combine in Power QueryHow to deal with alphanumeric data in Power Query to make VLOOKUP formulas work
Celia Alves - Solve & Excel |

How to make paths dynamic so that Power Query connections work on Dropbox shared files

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER