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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
KR300
Helper III
Helper III

Can we create a slicer based on the List Parameter in the Desktop

Hi I have created a list Parameter to change " datasource '  like below

 

VersionParameter

Version.v1.1

Version.v1.2

Version.v1.3

..

..

Version.v1.20

 

Can we convert this Parameter ( Which is created in Power Query )  as a slicer in Power BI desktop. So that we can use simply slicer to change datasource to selected version value in the path instead of going to Home->Queries->Transform Data->Edit Parameters  then change the Parameter. 

 

It would be easy to change the values for the datasource in the dashboard at the PBI service level also right? -- Is it possible?

 

 

I think it is not possible to pass slicer value as a parameter value in the source path, right?

 

Pls Help me out

 

 

 

 

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi,

Thanks for the solution danextian  offered, and i want to offer some more information for user to refer to.

hello @KR300 , based on your description, if you want to use the paramater dynamically in power bi desktop, you need to use the dynamic paramater by using direct query mode, you can refer  to the following link about the dynamic paramater.

Dynamic M query parameters in Power BI Desktop - Power BI | Microsoft Learn

Unlock the power of dynamic parameter binding for ... - Microsoft Fabric Community

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi,

Thanks for the solution danextian  offered, and i want to offer some more information for user to refer to.

hello @KR300 , based on your description, if you want to use the paramater dynamically in power bi desktop, you need to use the dynamic paramater by using direct query mode, you can refer  to the following link about the dynamic paramater.

Dynamic M query parameters in Power BI Desktop - Power BI | Microsoft Learn

Unlock the power of dynamic parameter binding for ... - Microsoft Fabric Community

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

danextian
Super User
Super User

Hi @KR300 

 

Slicer selections are not passed on to the query editor. The query editor affects the semantic model but it is not the other way around. If you want the data to be  sliced by ther version numbers, you will insteadneed to load all the versions together with the version numbers.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

If you want the data to be sliced by ther version numbers, you will instead need to load all the versions together with the version numbers. - didn't get this>

What I meant is that you need to load the entire dataset, ensuring it includes a column that specifies the versions. This will allow you to slice the visualization based on those versions.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors