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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
RobMar74
Frequent Visitor

Programmatically Select a Slicer Value

Is there a way to programmatically select a slicer value in Power BI?

I am only interested in using the official slicer control, and not any third party ones (which I've read are quite buggy).

 

I have two slicer controls, where the first slicer (multiselect) can filter the second slicer, but not the other way around (it is actually a bit more complicated than that, but it too messy to write it all here!)

 

If I have a value 'A' selected in the second slicer, but I then deselect a value in the first slicer that contains 'A', the second slicer control still has 'A' selected (even though it should not even be present). As soon as I select another value in the second slicer, 'A' gets removed. 

 

I realise that in an ideal world, the two slicers should be cross-filtering each other so this scenario cannot happen, but it is a customer requirement that the first filter always contains all the values.

 

This could be resolved if I was able to ensure that the second slicer defaults to another value that I know will be present.

TBH, I've read nothing that suggests this is possible, so any other suggestions would be welcome. 

 

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

This is not possible in regular Power BI. You may be able to do this in Power BI Embedded.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

This is not possible in regular Power BI. You may be able to do this in Power BI Embedded.

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.