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
hood2media
Resolver II
Resolver II

DAX-Power Query | selected value from parameter

hi,

if i have created a parameter list called 'station' in power query, can i select a value from that parameter list in a dax formula? this is because i'm also using the parameter list to filter data in power query.

currently i have to hardcode a value in the dax formula as shown below-

MainAirport = "JFK"

 

however, i'd like to select a value from a parameter list, if possible.

kindly advise.

warmest rgds, -nik

 

 

1 ACCEPTED SOLUTION

noted with thanks again, @VijayP .

for the moment, i'm opting the simple solution using SELECTEDVALUE function and using it with a slicer.

krgds, -nik

 

View solution in original post

4 REPLIES 4
VijayP
Super User
Super User

@hood2media  you can consider, but there are few limitations.




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


noted with thanks again, @VijayP .

for the moment, i'm opting the simple solution using SELECTEDVALUE function and using it with a slicer.

krgds, -nik

 

VijayP
Super User
Super User

@hood2media  Power Query Parameters cannot be used in DAX. Alternatively you can use Field Parameters in Power BI Desktop and use them




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


many thanks for your feedback, @VijayP.

may i kindly ask if the following meets that functional requirement-

https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-dynamic-m-query-parameters ?

krgds, -nik

 

Helpful resources

Announcements
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.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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 Power BI Update Carousel

Power BI Community Update - March 2026

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