Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn 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
| User | Count |
|---|---|
| 50 | |
| 40 | |
| 32 | |
| 14 | |
| 13 |
| User | Count |
|---|---|
| 87 | |
| 73 | |
| 37 | |
| 28 | |
| 26 |