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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
rpinxt
Power Participant
Power Participant

Custom Slicers

Do you guys know if there are custom slicers in which you can set the maximum choices a user can make?

 

For instance when you have a slicer with 6 option set the max selectable options to 2 or 3.

 

Preferable not a pro version....

5 REPLIES 5
v-jingzhan-msft
Community Support
Community Support

Hi @rpinxt 

 

You may try the workarounds from a blog: Two Cool Ways to Limit Slicer Selections in Power BI Desktop | by Paras Patil | Medium. There is a custom visual choice there but probably it cannot 100% meet your requirement. 

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

Thanks I saw that post too.

But the custom visual is actually not limiting the slicer, you can still add as much choises as you want.

And the dax way is not preferred.

Should be an easy and quick way.

 

But thanks for the suggestions @v-jingzhan-msft 

Alex87
Super User
Super User

I am not aware of any solution or custom visual to behave like this. It s a good idea though. 




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!




Alex87
Super User
Super User

Hello,

You can create a measure that checks the number of selected items in a slicer and uses this to display a message or control other aspects of your report dynamically. This won't prevent more selections but can alert users or influence other report elements based on the number of selections.

DAX
Selected Count = COUNTROWS(VALUES('Table'[Column]))




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!




rpinxt
Power Participant
Power Participant

Thanks @Alex87 I read about the dax way.

 

But still was wondering if there is also a real solution where a slicer has a maximum selection.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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