I have this custom table widget in modern dashboard.
The goal is to have a status color depending on the value of the polling engine completion and beside it is the actual completion rate.


I can't seem to relate the Severity Color Value as to what value should I display. I have this in my SWQL query:
e.PollingCompletion AS [Polling Completion], CASE WHEN e.PollingCompletion < 95 THEN 'red' ELSE 'green' END AS [PollingCompletionColor],
any help is appreciated.