You posted a Qlik Sense question in a forum called "New to QlikView".
If you want more feedback from Qlik Sense experts, you may want to move this discussion to the New to Qlik Sense forum by following the steps outlined here: QlikCommunity Tip: How to move your discussion thread
For a table chart, use the Background Color property. The value should be a color function eg Red() as Anil showed in his example.
Note that if you are testing a value in a column, there is no need to repeat the expression that calculated the value. You can use the column(n) function as a shortcut.
if(Column(2) > 0, Green(), Red())
The first Measure column is 1, the second 2 and so on.