Forum Discussion
smather
5 years agoHelper III
M Code Percentage Thresholds
Hi I created a custom column in the Query Editor: if [Phase] = "Equipment" and [Margin] < 20 then "Below Threshold" else null I've also used 0.20/0.19 and 19 to no avail, as it keeps hig...
- 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.
PhilipTreacy
5 years agoSuper User
Hi smather
Does the Phase column have text with leading or trailing spaces e.g. " Equipment " ?
Is the Margin column definitely numeric? It's not numbers stored as text?
If you supply some real sample data it would help to be able to check it.
Regards
Phil