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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Advocate I
Advocate I

How to have multiple slicer selections with a single forced choice.


I want to pass a table to a python visualization in powerbi. I am always passing two KPI's at all times. Eg: KPI_0 and a second KPI.
At the moment my current solution is to have two items selected from the slicer.[Current solution tab]


However, I would like it to improve it so that KPI_0 is always selected by default. This way the user only has to choose a second KPI.

I have made an attempt where KPI_0 and the second KPI is seperated into two tables with different column names.
However combining the two tables did not bring any benefit [Attempt1 tab].



In my second attempt, I have combined the two tables using power query and seperated the KPIs into seperate columns. However when using two slicers for the two columns, the slicers are working as 'AND' logic rather than 'OR' logic. i.e. when KPI_0 is chosen KPI_1 is blank and vice versa. 




How can I always have KPI_0 selected and have the use choose only KPI_1 or KPI_2 only? 

I have attached the source file here.

Community Support
Community Support


There is no such feature in power bi, as the workaround you can create measure to achieve this with following steps:


1. create a table, and use the new KPI column as the slicer.

Slicer Table = distinct[table[KPI])

2. create the expected return with measure:

KPI_0&Selected = CALCULATE(COUNT('Table'[KPI]),FILTER('Table',[KPI]="KPI_0" || [KPI]=SELECTEDVALUE('Slicer Table'[IKPI])))
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
Super User
Super User

@bdl5119 In your current solution you could set the slicer to have only KPI_0 selected but change it so selecting another KPI does not unselect KPI_0.


That way the user can come in and just click on KPI_1 to turn it on as well.


@ jdbuchanan71, thank you for your answer. However, in this option the user has the ability to unselect KPI_0 and select KPI_1 or KPI_2 on their own. I want to have KPI_0 selected at times. Hence I tried to seperate the slicers and hide the KPI_0 slicer from my users.

Helpful resources

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.


Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors