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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
hello, i have a calculated column that i want to use as a slicer, but i only want a range of the values...
i create this formula but receive error... if someone could help with formula or best way to accomplish this
threshold = CALCULATE(sum(test[diff]), test[diff] >=-5,test[diff]<= -.50)
threshold = FILTER(test, test[diff]>= -5. && test[diff] <= -.50)
Perhaps:
threshold = IF(test[diff]>=-5 && test[diff]<= -.50,test[diff],BLANK())
thanks, any idea why my calculated column does not appear as an option??
Hi @ilcaa72
You may try to use below measure:
threshold =
IF (
MAX ( test[diff] ) >= -5
&& MAX ( test[diff] ) <= -.50,
MAX ( test[diff] ),
BLANK ()
)Regards,
Cherie
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 47 | |
| 29 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 89 | |
| 74 | |
| 40 | |
| 26 | |
| 25 |