Import from a Specific Folder with Power Query ... and that Formula.Firewall Error

preview_player
Показать описание
Importing data from a folder in Excel's Power Query is easy. But what if you want to use a dropdown list to select and import from a specific folder? It involves passing a parameter (as we've done in previous videos) and a little M code.

This video shows 2 methods and addresses the mysterious error:
Formula.Firewall: Please Rebuild This Data Combination

The first method involves telling Power Query to ignore privacy levels.

The second method shows how to respect the privacy levels and still get Power Query to cooperate. There's some M coding involved but not too much.

Thanks to the following people for their help:

Ken Puls' blogpost on the Formula.Firewall error:

My book: Guerrilla Data Analysis 2nd Edition

Рекомендации по теме
Комментарии
Автор

Hi Oz, When I am in really Deep trouble - you always have a way forward

Zealand-Data
Автор

Digging the single solution - I would suggest using the Index reference by using {0}[Club] within the concatenation to save yourself a few within the applied steps.

Source = & Excel.CurrentWorkbook(){[Name="Table1"]}[Content]{0}[Club]),

ItsNotAboutTheCell
Автор

Lately I've been trying to make as few queries as possible.
add couple new steps starting with = Excel.Workbook(), then just reference it in subsequent steps
much more compact and less troubles

ViktorParkhomets
Автор

Nice examples....and thanks for reminding us to not mess with geese!

DougHExcel
Автор

Thanks for the Colorful Data Import M Code fun!!!

excelisfun
Автор

Can't thank you enough for that. It was driving me nuts

garyallan
Автор

Hi OZ, I really like to know how to create a drop down list that contain folder names and once you refresh the data the only folder contain refreshed. I don't know the process could you please assist me from where I get to learn the process. Is it done using power query?
Thank you for the video.

syedtalhamanzar
Автор

wow, amazing trick. you rocked again man.. many thanks for sharing

"Transform File from Orange’ query. Expression.Error: The key didn't match any rows in the table".

Can you please help on this error when i press refresh preview?

entertainmentgalaxy