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! It's time to submit your entry. Live 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
| User | Count |
|---|---|
| 49 | |
| 37 | |
| 33 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 132 | |
| 99 | |
| 56 | |
| 37 | |
| 37 |