Qlik Community

App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Now Live: Qlik Sense SaaS Simplified Authoring – Analytics Creation for Everyone: READ DETAILS
Showing results for 
Search instead for 
Did you mean: 
Contributor II
Contributor II

Color a Cell in a Table based on value from Formula

Hello, I'm struggling with the below. The formula works perfect as a Master Measure, what I want to do is highlight the cell in RED if the answer is below 120 and GREEN if equal to 120 or greater.


" IF((((((Sum({<TCODE={'IN'}>} AMOUNT))-(Sum({<TCODE={'CN'}>} AMOUNT)))-((Sum({<TCODE={'IN'}>} PROFIT))-(Sum({<TCODE={'CN'}>} PROFIT))))/(SUM(ONHAND*LTSTCOST)))*(((Sum({<TCODE={'IN'}>} PROFIT))-(Sum({<TCODE={'CN'}>} PROFIT)))/((Sum({<TCODE={'IN'}>} AMOUNT))-(Sum({<TCODE={'CN'}>} AMOUNT))))*100)>'120', 'RED',) "

Labels (3)
0 Replies