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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Power BI Slicer Issue with SELECT ALL & SINGLE Value selection

Hello All,

We have a requirement where User should be able to do only two things in Dropdown Slicer

1) SELECT ALL -- To see Overall Data

2) Only Single Value -- To see indiviual data

3) User should not be able to select multiple value except SELECT ALL

4) User should not be able to select multiple value with CTRL + Click also. 

 

 

Thanks,

PBI V2

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous 

You can refer to the following sample

Sample slicer table 

Slicer_cate

vxinruzhumsft_0-1692169096367.png

Slicer_data 

vxinruzhumsft_1-1692169117005.png

Data table

vxinruzhumsft_2-1692169126476.png

Then create the following measures

Measure = IF(SELECTEDVALUE('Slicer_cate'[Column1])="Other",1,0)

Put the measure to the data slicer visual filter 

vxinruzhumsft_3-1692169194205.png

 

Then create another measure

Measure 2 = IF(OR(SELECTEDVALUE('Slicer_cate'[Column1])="ALL",ISFILTERED('Slicer_cate'[Column1])=FALSE()),CALCULATE(SUM('Data'[Column2])),IF(SELECTEDVALUE('Slicer_cate'[Column1])="Other",CALCULATE(SUM('Data'[Column2]),FILTER('Data',[Column1] in VALUES('Slicer_data'[Column1])))))

Then put the measure to the table visual

Output

vxinruzhumsft_4-1692169495357.png

 

vxinruzhumsft_5-1692169511883.png

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

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous 

You can refer to the following sample

Sample slicer table 

Slicer_cate

vxinruzhumsft_0-1692169096367.png

Slicer_data 

vxinruzhumsft_1-1692169117005.png

Data table

vxinruzhumsft_2-1692169126476.png

Then create the following measures

Measure = IF(SELECTEDVALUE('Slicer_cate'[Column1])="Other",1,0)

Put the measure to the data slicer visual filter 

vxinruzhumsft_3-1692169194205.png

 

Then create another measure

Measure 2 = IF(OR(SELECTEDVALUE('Slicer_cate'[Column1])="ALL",ISFILTERED('Slicer_cate'[Column1])=FALSE()),CALCULATE(SUM('Data'[Column2])),IF(SELECTEDVALUE('Slicer_cate'[Column1])="Other",CALCULATE(SUM('Data'[Column2]),FILTER('Data',[Column1] in VALUES('Slicer_data'[Column1])))))

Then put the measure to the table visual

Output

vxinruzhumsft_4-1692169495357.png

 

vxinruzhumsft_5-1692169511883.png

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.

 

 

Anonymous
Not applicable

Hello @Idrissshatila Thanks for your response. It looks like it is not possible in Power BI visual. Just looking for any solution that can be build at data model level where we can add one more value as "Overall" in slicer. When user select "Overall" slicer should display data for everything and when user select a single value then report should display data for only that selection.

Let us know if any such possibility

Thanks,

PBI V2

Idrissshatila
Super User
Super User

Hello @Anonymous ,

 

This is not acheivable since it's in the function of the slicer, it's either you can select all and have the option to select multiple values as well or single select or select with Ctrl.

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.