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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
SanderTK
Advocate II
Advocate II

Using Data Factory Global Parameter in Power Query

Hi all,

 

I am working with a Power Query in my ADF pipeline to filter some data from a dataset.

The intention is to set a global parameter and use that parameter inside Power Query to filter the data.

My thoughts are that I would have to incorporate the parameter with the M-query (inside the advanced editor) but I am not entirely sure how to pass that global parameter.

Is this possible and if so how would I pass on this parameter?

1 ACCEPTED SOLUTION
frithjof_v
Community Champion
Community Champion

I don't think the pipeline can pass the parameter directly into Power Query.

 

I think you will need to store the "parameter" as a cell value in an external table (or file), and then connect Power Query to that table in order to read the value of the "parameter".

 

Related threads (if you are using Fabric Data Pipeline): 

Solved: Pass data pipeline parameter to dataflow gen2 - Microsoft Fabric Community

Please vote here to make this possible: https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=2f761603-a400-ee11-a81c-6045bdb98602

 

Related threads (if you are using Azure Data Factory): 

Solved: Dynamic PowerQuery using ADF - Microsoft Fabric Community

azure - Pass Parameters/Values from Pipeline into Power Query Activity in ADF - Stack Overflow

View solution in original post

1 REPLY 1
frithjof_v
Community Champion
Community Champion

I don't think the pipeline can pass the parameter directly into Power Query.

 

I think you will need to store the "parameter" as a cell value in an external table (or file), and then connect Power Query to that table in order to read the value of the "parameter".

 

Related threads (if you are using Fabric Data Pipeline): 

Solved: Pass data pipeline parameter to dataflow gen2 - Microsoft Fabric Community

Please vote here to make this possible: https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=2f761603-a400-ee11-a81c-6045bdb98602

 

Related threads (if you are using Azure Data Factory): 

Solved: Dynamic PowerQuery using ADF - Microsoft Fabric Community

azure - Pass Parameters/Values from Pipeline into Power Query Activity in ADF - Stack Overflow

Helpful resources

Announcements
FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Fabric Update Carousel

Fabric Monthly Update - March 2026

Check out the March 2026 Fabric update to learn about new features.

Top Solution Authors
Top Kudoed Authors