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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
EaglesTony
Post Prodigy
Post Prodigy

Can I set the value of a parameter based on a slicer value

I have a slicer and I can get the value showing on a card, but I also have a parameter I created within Power Query that is now showing on my fields tab.

 

I want to set this parameters value based off the slicer value, but don't know the syntax to do this, as this value will be a URL that will be used for the Data Refresh.

7 REPLIES 7
EaglesTony
Post Prodigy
Post Prodigy

Unfortuantely, I don't see the option to turn on Dynamic query as the checkbox is not there in the options.

Thanks. When they say Direct Query, what does that mean ? 

 

I am using a JIRA Data connector as my source.

EaglesTony
Post Prodigy
Post Prodigy

Hi are you saying to bind my parameter using this method ?...In my example, I have TableA with FieldQtr(this is bound to the slicer and contains Q1, Q2, Q3, etc) and FieldURL(This I want to use for my datasource).

 

When the user selects Q3 for example, I want then to take the corresponding FieldURL and populate my parameter with this value.

 

One thing to note, is that on the PowerBI Query side (via Transform data), I am creating the parameter there with URL values, then taking that parameter and use that as my "Source" for the data.

Also, I am using Power BI July 2022 Update and based on this video dont see "Bind to Parameter" option, nor do I see under Global options "Dynamic M parameters".

It is only when you connect with direct query as you data source. Did you find ou any solution?

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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