cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bludb2
New Member

Single Select on Filter pane

Hi all,

 

Is there any way to enfore single select on filters in the filter pane? I can see the "Requires single selection" but can overwrite this by:

  - CTRL + clicking several options 

  - Deselecting the selected option (causing a Select all)

  - Erasing the filter (causing a Select all)

 

Is there anything I can do about this? Ideally similar to the options provided by the Slicer visual?

 

My users are breaking reports by erasing filters that need to only have one option selected.

 

Thanks

Ben

2 REPLIES 2
abdulma
Regular Visitor

Please vote up this Power BI idea to improve the behavior of a the single select on the filter pane : https://ideas.powerbi.com/ideas/idea/?ideaid=76258bb2-43ea-eb11-ba5e-501ac50a6edb

edhans
Super User
Super User

No, not at this time. You could create a DAX measure to check for it though. It would depend on how many other filter contexts existed in the report, but if the page is fairly simple, this would work.

OneOrNoFilters =
IF (
    HASONEFILTER ( 'Open AP Transactions'[Account] )
        || NOT ( ISFILTERED ( 'Open AP Transactions'[Account] ) ),
    "",
    "TOO MANY FILTERS"
)

It will display (in a card perhaps) "TOO MANY FILTERS" if 2+ filters are chosen, but will be blank if there are no filters or just one filter.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.