Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi all,
This has been something I've been trying to do for some time, and thought I might be able to solve with Field Parameters, but alas I've hit another roadblock.
I'm trying to add a slicer to a chart that would remove all items have less than a specified number of items determined by a slicer. So basically so if the user had filtered the chart to see categories with above 50 items, only A, C, F & G would appear from the below table.
| Category | No. of Items |
| A | 59 |
| B | 26 |
| C | 85 |
| D | 23 |
| E | 19 |
| F | 65 |
| G | 53 |
Any ideas on how to achieve this at all?
Solved! Go to Solution.
Create a numeric field parameter slicer.
Then try use something similar to the following DAX as the measure:
No. Items =
var items = CALCULATE(COUNT([Items]), ALLEXCEPT(Table, [Category])
var minItems = SELECTEDVALUE([Parameter Value])
return IF(items > minItems, items, BLANK())
Create a numeric field parameter slicer.
Then try use something similar to the following DAX as the measure:
No. Items =
var items = CALCULATE(COUNT([Items]), ALLEXCEPT(Table, [Category])
var minItems = SELECTEDVALUE([Parameter Value])
return IF(items > minItems, items, BLANK())
Thanks man, this worked!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |