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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
smpa01
Super User
Super User

Using Parameters in dataflow

Is there a way to use paramters in dataflow? I am passing on the parameter to a ssas query.

 

I am currently running into this. I want to be able to utilize parameters in a df Query but looks like I can't.

 

smpa01_0-1699471712607.png

 

Am I using it wrongly?

If no, what is the inteneded use of parameters?

 

Also, I don't see any option for parameters in df settings which makes me think how one intended to use parameters in dataflow can change parameter values as they are not avaliable in settings

 

smpa01_2-1699473825905.png

It is not an issue with dataset; it works seamlessly

smpa01_0-1699476484340.png

 

 

 

 

 

 

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
1 ACCEPTED SOLUTION
Daryl-Lynch-Bzy
Resident Rockstar
Resident Rockstar

Hi @smpa01 - this is a limitation of Power BI Dataflows - Link to Limitations  "In Power BI dataflows, you can use parameters but you can't edit them unless you edit the entire dataflow. In this regard, parameters in dataflows behave similar to declared constants."

 

The work around is to define the parameter in another Data Source (e.g. Excel file or SharePoint list) and import into the dataflow.

View solution in original post

2 REPLIES 2
Daryl-Lynch-Bzy
Resident Rockstar
Resident Rockstar

Hi @smpa01 - this is a limitation of Power BI Dataflows - Link to Limitations  "In Power BI dataflows, you can use parameters but you can't edit them unless you edit the entire dataflow. In this regard, parameters in dataflows behave similar to declared constants."

 

The work around is to define the parameter in another Data Source (e.g. Excel file or SharePoint list) and import into the dataflow.

This is simply no good and in my opinion defeats the purpose of a having a const in the form of parameter which cant be controlled externally outside of a df unlike in dataset. I would not know what is the purpose of having a const controlling which needs one to go inside the query every time there is a req. It does not make sense to me. I would stick with parameter in dataset.

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.