<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Calculation and Colour Logic.</title><link>https://community.appian.com/discussions/f/user-interface/34070/calculation-and-colour-logic</link><description>Hi , I am stuck with some logic here in color code, I need to represent variance column in amber colour ,if the varience is dropped to 50%. than actual value, Now this variance column is calculated with formula (actual-cov.threshold)/actual*100 so getting</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Calculation and Colour Logic.</title><link>https://community.appian.com/thread/129663?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2024 12:54:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ccee8873-36d3-437c-841d-c00d0fc9d2d6</guid><dc:creator>sid</dc:creator><description>&lt;p&gt;ok thanks for your suggestion.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calculation and Colour Logic.</title><link>https://community.appian.com/thread/129652?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2024 11:33:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b06e0979-53a6-4d09-b385-647d90541a39</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Please don&amp;#39;t use nested if() use a!match() instead. Nested if() are not performant.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To answer your question, what you are doing is correct. The reason why you can&amp;#39;t see it could be that&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;There is no value that matches with the condition (as seen in the screenshot also)&lt;/li&gt;
&lt;li&gt;Type mismatch between operands.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calculation and Colour Logic.</title><link>https://community.appian.com/thread/129632?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2024 08:00:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f1e1fcbd-dc13-4d2f-8009-abe9e056cc6f</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Not sure what your question is...&lt;/p&gt;
&lt;p&gt;But, maybe the issue is that it seems like you store a numerical value as text. Now, trying to compare a text to a number will not really work all the time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>