Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
| Date | Variable | Value | score |
| 3/31/2010 | A | -0.11734 | 1 |
| 4/30/2010 | A | -0.13158 | 2 |
| 5/31/2010 | A | 0.000848 | 1 |
| 6/30/2010 | A | 0.02021 | 5 |
| 7/30/2010 | A | 0.020486 | -1 |
| 8/31/2010 | A | 0.032784 | -3 |
| 9/30/2010 | A | 0.086358 | -2 |
| 10/29/2010 | A | 0.091077 | 1 |
| 5/31/2010 | A | 0.000848 | 3 |
| 6/30/2010 | A | 0.02021 | 4 |
| 7/30/2010 | B | 0.034486 | 5 |
| 8/31/2010 | B | 0.031784 | -1 |
| 9/30/2010 | B | -0.049358 | -2 |
| 10/29/2010 | B | -0.077 | 0 |
As above - I want the values to be zero when score is less than zero instead of the negative value and vice versa... How should I do this?
Solved! Go to Solution.
Hi @WestWinter ,
You can create a measure
Status Measure = IF(MAX('Table'[Value])>0||MAX('Table'[Value])<0,0)
Or a calculated column
Status Calculated Column = IF([Value]>0||[Value]<0,0)
But I'm not sure what is the meaning of you doing this, maybe I understand it wrong?
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @WestWinter ,
You can create a measure
Status Measure = IF(MAX('Table'[Value])>0||MAX('Table'[Value])<0,0)
Or a calculated column
Status Calculated Column = IF([Value]>0||[Value]<0,0)
But I'm not sure what is the meaning of you doing this, maybe I understand it wrong?
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!