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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

power bi pass slicer value as query parameter

hi is it possible to pass slicer value selected by end user  to power query? i dont want to load full list of data as it seems to be huge

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

Slicer works on visual level, it will not filter the underlying data. You could create a query parameter and use it to filter data when you loading data.

https://docs.microsoft.com/en-us/power-query/power-query-query-parameters 

 

Best Regards,

Jay

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @Anonymous ,

 

Slicer works on visual level, it will not filter the underlying data. You could create a query parameter and use it to filter data when you loading data.

https://docs.microsoft.com/en-us/power-query/power-query-query-parameters 

 

Best Regards,

Jay

amitchandak
Super User
Super User

@Anonymous , Check if Dynamic M parameter can help

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

 

or

https://www.thebiccountant.com/2017/03/22/use-slicers-for-query-parameters-in-powerbi/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi Amit,

 

Dynamic M paramater work only when we use direct query. We have source data as power bi dataset.

Exceptation is the paramater set in power query need to be added in slicer and shown to user to select  it power bi service, or in anyway end user who as only viewer access should be able to change the values of paramater. please advise

I'm facing the same problem; have you been able to solve it @NikNithiy  ?

unfortunely not!!!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.