Forum Discussion
M Code Percentage Thresholds
- 5 years ago
Hi, smather
You can try: if text.trim([Phase]) = "Equipment" and [Margin] < 20 then "Below Threshold" else null
If it doesn’t solve your problem, please feel free to ask me.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thx smather
Well without the actual data to hand I think I've suggested everything I'd check.
If % Margin is 30% as shown in your images then the only thing I can think of is that there are some non-prining characters or spaces in the Phase col, but you said that's not the case.
Can you please humour me and double check with this new column
= Text.Length([Phase])
Regards
Phil
I think I've figured it! I changed the formula to say <=0.29 rather than <0.30 and it seems to be spitting out what I expected