Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I'm trying to set up a custom function that dynamically changes the source of my query. Upon saving I get the error 'One or more tables references a dynamic data source'.
Looking for answers online I got the impression there might be some workarounds possible if you are using the Web.Contents function in combination with the RelativePath and Query arguments (although I may be misunderstanding this).
Is there a workaround to available when the AzureStorage.DataLake function is used?
(ADLSPathToLoadFrom) => let
Source = AzureStorage.DataLake(ADLSPathToLoadFrom),
...
Thanks for your response, @johnbasha33. When I save query you suggest (GetDataFromADLS), I still get the message 'One or more tables references a dynamic data source'. What am I doing wrong?
When using the AzureStorage.DataLake function in Power Query, the data source is considered dynamic, meaning it cannot be used within custom functions or parameterized queries directly.
However, you can work around this limitation by creating a function that accepts the ADLS path as a parameter and then using the function in your query. Here's how you can do it:
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
10 | |
7 | |
7 | |
6 | |
6 |