<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://sugarclub.sugarai.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>Calculated Checkbox not setting as expected</title><link>https://sugarclub.sugarai.com/dev-club/f/questions-answers/8362/calculated-checkbox-not-setting-as-expected</link><description>Sugar Ent 25.1 on site I have a calculated checkbox field with formula 
 greaterThan( count( 
 related($aupub_author_publications_contacts,&amp;quot;name&amp;quot;) 
 ) ,0) 
 
 The formula is acceptable, the related portion is built in Studio via the usual selection of</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Calculated Checkbox not setting as expected</title><link>https://sugarclub.sugarai.com/thread/33778?ContentTypeID=1</link><pubDate>Wed, 01 Apr 2026 19:08:21 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:40e3ff23-f592-4107-b39c-2fc170ab5fdc</guid><dc:creator>Francesca Shiekh</dc:creator><description>&lt;p&gt;That did it, thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calculated Checkbox not setting as expected</title><link>https://sugarclub.sugarai.com/thread/33777?ContentTypeID=1</link><pubDate>Wed, 01 Apr 2026 11:35:36 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:1001bab3-ba7a-4cf7-8c5e-aeca9f95ad49</guid><dc:creator>Chris Raffle</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/francescas"&gt;Francesca&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;When using count(), you only need to specify the relationship link for the formula to properly assess whether any related records exist. Try using the following formula instead:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;greaterThan(
    count(
        $aupub_author_publications_contacts
    ),
    0
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>