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.
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
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.
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.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
Click here to read more about the December 2021 Updates!
Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.
Mark your calendars and join us for our next Power BI Dev Camp!